This resource is not plugin
Scramble script is used to add fun element to game.
Every predefined time, scrambled word will appear in chat. First player who guess the word, wins
What is script offering?
- Function, which can me used anywhere
- Customizability
Requirements:
-
Skript
Installation:
- Download the scramble script
- Put script in file located /plugins/skript/scripts
Setting up:
- Open file scramble.sk
- Edit values in "Options" section to your liking
- You can set name and permission of command, minimum amount of players required for start, delay between words, delete word after certain time, console command, when player guess word
Code (Text):
#-----------------------------------------------------------------------------------------------------
options:
#basic
var_prefix: jp.script.scramble #It's safe to leave this default
command: scramble #Name of command
permission: skript.scramble.admin #Permission required to use command
min_amount: 2 #Minimum amount of players to start scramble
delay: 1 minute #Delay between every scrambled word
delete: true #True, if you want delete word after time
delete_delay: 20 seconds #Delay after word is deleted
console_command: true #Should script execute command when player win?
console_comm: "money give %player% 1000" #If console_command is true, write there command
#messages
added: "&6[Scramble] &aWord %arg-2% was added into list" #Message when player add word into list
broadcast: "&6[Scramble] %{_message}%" #Broadcast shuffled word
removed: "&6[Scramble] &aWord %arg-2% was removed from list" #Message when player remove word from list
deleted: "&6[Scramble] Word was %{_mes}%" #Message after time runs out
winner: "&6[Scramble] Player %player% won scramble!" #Message when player win
contains: "&6[Scramble] &cThis word is already part of list" #Message when word is already part of list
notcontain: "&6[Scramble] &cList does not contain %arg-2%" #Message if you try removing non-existing word
deleteall: "&6[Scramble] &cDeleted all variables" #Message when player delete all variables
#function
#Description #JPScrambleWord(<string>)
#Example #JPScrambleWord("Hello there!")
#command usage
#
#/<yourcommand> add <yourword> - to add new word to list
#/<yourcommand> remove <youword> - to remove word from list
#/<yourcommand> list - to show list of added words
#/<yourcommand> deleteall confirm - to delete all variables
#
#-----------------------------------------------------------------------------------------------------
FAQ:
Can i edit the file?
Yes, script is written to be easily understood and edited
Can i order custom scripts?
Yes, you can contact me on my discord
Where to send ideas for improvements?
Join my discord and send the idea
Can i order one image, like is the one at top of page?
Yes, you can contact me on my discord
Don't use reviews to report bugs or give ideas