Sueta

KitFFA - CONFIGURABLE, CANCEL EVENTS, BREAK/PLACE CONFIGS, M

1.2

Create your own FFA with some configurations :)

·Plugin

KitFFA

Features:
» Cancel breaking blocks , you can list blocks for allow to be breaked
» Cancel placing blocks , you can list blocks for allow to be placed.
» Configure blocks to disappear . After x seconds the block that you placed will dissapear!
» Multispawns . Let to your players appears on different points/spawns of your map
» Cancel some events .

Spoiler
#players can't craft items using a crafting table 
cancel-crafting: true 
#disable raining and the day change 
cancel-weather: true 
#players can't drop items from his inventories 
cancel-itemDrop: true 
#hunger will never come down 
cancel-hunger: true 
#the players won't break his legs on falling 
cancel-fallDamage: true 
#players won't be able to move the items of his inventory 
block-movingItems: true

» Configurate some options on player death or kill.

Spoiler
#if true the players only can regenerate hers lifes eating golden apples 
onlyAppleRegen: false 
#when a player kills other will sound a sound 
#!!!BE SURE YOU'RE SETTING THE CORRECT SOUND TYPE, THE DEFAULT SOUND IS FOR 1.8 SERVERS 
#FOR 1.13+ SERVERS THE NAME OF THAT SOUND IS DIFERENT 
sound-onKill: "BLAZE_HIT" 
#if true when a player kill another the killer will regenerate 20HP instantly 
regen-killer-health: true 
#set true if you want to edit the default Minecraft message when a player dies 
customMsg-onDeath: true 
#VARIABLES: 
# %dead% -- > shows the dead player name 
# %killer% -- > shows the player name of the killer 
message-onDeath: "&a%dead% has been killed by &c%killer%" 
#set true if you want to clear the items of the floor when a player dies 
clear-items-onDeath: true

» NEW Vault support! When player dies or kills someone can won or lose some money.
» Per-World support! Put in the configuration in what(s) world(s) you want to the configuration be applied :)

Commands & Permissions

Commands:
- /ffa help - show message with the all commands
- /ffa createKit <normal | vip>
- /ffa addSpawn - you can add as many as you want, players will randomly spawn in some of setted spawns OR you can only set one :)
- /ffa removeSpawn - will remove the last spawn created
- /ffa reload - for reload the config

Permissions:
kitffa.help - default:OP - show the help message
kitffa.admin - let you use all admin commands (createkit, addspawn etc.)
kitffa.kit.vip - player will recieve the VIP kit
kitffa.bypass - bypass all enabled events

default config.yml
####################################################### 
#             PLACING AND BREAKING BLOCKS             # 
####################################################### 

#if true players only can BREAK blocks listed above 
#leave it empty if you don't want to allow break any block 
#set to: allowed-blocks-break: [] 
cancel-breakingBlocks: true 
allowed-blocks-break: 
- "WOOD" 
#if true players only can PLACE blocks listed above 
#leave it empty if you don't want to allow place any block 
#set to: allowed-blocks-place: [] 
cancel-placingBlocks: true 
allowed-blocks-place: 
- "GRASS" 
####################################################### 
#                  BLOCK DESPAWNING                   # 
####################################################### 

#this is useful if you want create a BuildUHC FFA, 
#but not necessary for that :) 

#when you put a block it will disappears 
#after x seconds (configure below) 
#you don't need to put the block too on allowed-blocks-break section 
enable-blockDespawning: true 
#time in seconds 
time-onblockDespawning: 3 
blocks-to-despawn: 
- "WOOD" 
####################################################### 
#                  CANCELLING EVENTS                  # 
####################################################### 

#players can't craft items using a crafting table 
cancel-crafting: true 
#disable raining and the day change 
cancel-weather: true 
#players can't drop items from his inventories 
cancel-itemDrop: true 
#hunger will never come down 
cancel-hunger: true 
#the players won't break his legs on falling 
cancel-fallDamage: true 
#players won't be able to move the items of his inventory 
block-movingItems: true 

####################################################### 
#               KILL/DEATH CONFIGURATIONS             # 
####################################################### 

#if true the players only can regenerate hers lifes eating golden apples 
onlyAppleRegen: false 
#when a player kills other will sound a sound 
#!!!BE SURE YOU'RE SETTING THE CORRECT SOUND TYPE, THE DEFAULT SOUND IS FOR 1.8 SERVERS 
#FOR 1.13+ SERVERS THE NAME OF THAT SOUND IS DIFERENT 
sound-onKill: "BLAZE_HIT" 
#if true when a player kill another the killer will regenerate 20HP instantly 
regen-killer-health: true 
#set true if you want to edit the default Minecraft message when a player dies 
customMsg-onDeath: true 
#VARIABLES: 
# %dead% -- > shows the dead player name 
# %killer% -- > shows the player name of the killer 
message-onDeath: "&a%dead% has been killed by &c%killer%" 
#set true if you want to clear the items of the floor when a player dies 
clear-items-onDeath: true 

####################################################### 
#                    ECONOMY                          # 
####################################################### 

#enable vault for add or substract money on player death or kill 
vault-support: false 
#set to 0 if you want't add or substract money in some option 
#add money 
eco-player-kill: 1.0 
#substract money 
eco-player-death: 0 
#VARIABLES: 
# %dead% -- > shows the dead player name 
# %killer% -- > shows the player name of the killer 
# %money% -- > quantity of money player lost 
msg-onAddMoney: "You won %money%$ for killing %dead%" 
msg-onSubstractMoney: "You lost %money%$ for dying" 

####################################################### 
#                      MISC                           # 
####################################################### 

#when player joins to the server will be teleported to any setted spawn with kit 
teleport-onJoin: true 
#the worlds that the configuration will be applied 
worlds: 
- "world"

(!) Tested on Spigot/PaperSpigot 1.8.8 and 1.14.4 (not much in this), there may be errors in other versions.

TO-DO:
- Add option to configurate the possibility to spawning in each setted spawn
- Let to naming the spawns instead of use the numbers.
- Implement a command to show a list of the created spawns and go to they.
- Add some cute effects on block despawning and when a player dies.
- Add Vault support. When player dies substract money and add on kill.
- Your suggestions :)

Sorry for lang mistakes.

Similar projects

Plugin →