This resource is not plugin
Guesschest script is used to add fun element to game.
Player need to guess word, which is chest containing. The only hint is first letter of word. Guess the word, and get rewards.
What is script offering?
- Advanced command
- Customizability
Requirements:
-
Skript
-
SkBee
Installation:
- Download the guesschest script
- Put script in file located /plugins/skript/scripts
Setting up:
- Open file guesschest.sk
- Edit values in "Options" section to your liking
- You can set command name, command permission, type of guesschest, name of guesschest, sound when is guesschest placed and all messages
Code (Text):
#-----------------------------------------------------------------------------------------------------
options:
#basic
var_prefix: jp.script.guesschest #It's safe to keep this default
command: guesschest #Command name
permission: skript.guesschest.command #Command permission
type: chest #Type of quesschest(shulker box/chest/...)
name: "&6Guesschest" #Name of guesschest
gave: true #Should we send message to player, when guesschest is given to player?
gave_message: "&6Player %player% gave you Guesschest" #If true, what message?
won: true #When player guess the word, should it be broadcasted?
won_message: "&aPlayer %player% guessed the word" #If yes, what message?
sound: true #Should be played sound, when player place Guesschest?
sound_s: "minecraft:ambient.underwater.exit" #If true, what sound?
#messages
added: "&aWord was added to list" #Message when admin add word to list
removed: "&aWord was removed from list" #Message when admin remove word from list
write: "&aType answer in chat" #Message when player click on guesschest
list: "&2|-------List-------|" #First line of list, when player types list command
line: "&a%loop-value%" #Formatting of lines when player types list command
deletedall: "&aYou deleted all variables" #Message when admin deletes all variables
given1: "&6Guesschest was given to you" #Message to admin, when he gives himself guesschest
given2: "&6Guesschest was given to player %arg-2%" #Message to admin, when he gives player guesschest
reward_added: "&aYou added reward to list" #Message when admin add reward item to list
reward_removed: "&aYou removed reward from list" #Message when admin remove reward item from list
rewardnotcontain: "&cThis reward is not part of list" #Message when player's item is not part of reward list
destroyed: "&cYou destroyed Guesschest" #Message when player destroy guesschest
notset: "&cWord list is empty" #Message when word list is empty
wrong: "&cThat was wrong answer" #Message when player types wrong answer
reward_contains: "&cList already contains reward" #Message when reward list already contains player's helded item
notcontain: "&cList doesn't contain %arg-3%" #Message when word list doesn't contain word
respond: "&cYou should answer first" #Message when player click on guesschest without answering previous
contains: "&cList already contains the word" #Message when word list already contains the word
confirm: "&cAre you sure? Type &6/%{_command}% deleteall confirm" #Message when player types deleteall command without confirmation
#command usage
#
#/<yourcommand> give - Give yourself guess chest
#/<yourcommand> give <player> - Give player guess chest
#/<yourcommand> addword <word> - Add word to word list
#/<yourcommand> removeword - Remove word from word list
#/<yourcommand> addreward - Add player's currently holded item to reward list
#/<yourcommand> removereward - Remove player's currently holded item from reward list
#/<yourcommand> list reward - Show list of added rewards
#/<yourcommand> list word - Show list of added words
#/<yourcommand> deleteall - 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