:: Scream Around ::
Players can scream out some sounds from the vanilla game.
With a moderate to the farthest distance possible.
:: Installation ::
copy/paste the script file
- ../plugins/PySpigot/scripts/
:: Dependencies ::
:: Commands ::
- /scream >> play the default sound
- /scream help >> all help info
- /scream wolf >> play a wolf growl
- /scream sheep >> play a sheep baa
- /scream roar >> play a sage roar
- /scream polar >> play a polar bear growl
add 'loud' to make it louder:
- /scream loud
- /scream wolf loud
- /scream sheep loud
- ...
equivalent commands added in french (crier, fort, loup, mouton)
you can mix commands order and language, it will work.
:: Functions ::
- a cooldown to limit the screamings by player
:: Permissions ::
../plugins/PySpigot/scripts/script_options.yml
- screamaround.use --- with the default sound
- screamaround.me --- for admin
- screamaround.loud --- to use the loud command
- .screamaround.wolf ..sheep .roar .polar
.me admin permission will grant the use of all commands.
Code (YAML):
[/SIZE
]
[/SIZE
]
screamaround.py:
enabled
: true
permissions:
screamaround.*:
description
: scream around the world
children:
screamaround.use
: false
screamaround.me
: false
screamaround.loud
: false
screamaround.wolf
: false
screamaround.sheep
: false
screamaround.polar
: false
screamaround.roar
: false
[SIZE=5
]
[SIZE=5
]
-------
:: Configuration::
There is no config file yet. Edit in script.
Code (YAML):
########################################################################
### DEFAULT CONFIGURATION VARIABLES
########################################################################
MESSAGE_NO_PERMISSION =
"You do not have permission."
SCREAMAROUND_CHAT_PREFIX =
"&c&k000&r[&6Scream&cAround&r] "
MESSAGE_COOLDOWN_ON =
"There is a cooldown on your Screamings. You will be notified on its end."
MESSAGE_COOLDOWN_END =
"Your cooldown is over."
MESSAGE_USAGE =
"/scream help to read about the commands."
USE_PERMISSIONS = True
PERMISSION =
"screamaround.use"
PERMISSION_ADMIN =
"screamaround.me"
PERMISSION_WOLF =
"screamaround.wolf"
PERMISSION_SHEEP =
"screamaround.sheep"
PERMISSION_ROAR =
"screamaround.roar"
PERMISSION_POLAR =
"screamaround.polar"
PERMISSION_LOUD =
"screamaround.loud"
COOLDOWM_IN_MINUTES = 2
### TITLE
TITLE =
"&6SCREAMING"
SUBTITLE =
"&cOUT"
SUBTITLE_LOUD =
"&cOUT & LOUD!!"
FADEIN_SECONDS = 2
FADEOUT_SECONDS = 2
SHOW_FOR_SECONDS = 6