Sueta
MI

Minigames /leave command

1.1.2

Lightweight /leave plugin for minigames (skywars bedwars pvp tnttag tntrun and luckeyislands)

·Plugin

What is this plugin?
With this plugin you can use /leave in minigames like skywars and bedwars instead of /sw leave or /bw leave. You can simply add the minigame worlds in the config.

How does it work?
You can add your worlds in the config or with /mlc set [world] <sw : bw : pvp : tnttag : tntrun : li>. If you are in one of this worlds and you use /leave, the plugin looks in wich world you are and picks the right leave command for you so you leave the game and don't need a command like /sw leave. To remove a world as a minigame world you can use /mlc remove [world]

Supported minigame plugins
This plugin is supported by all skywars, bedwars, pvp, tntrun, tnttag and luckey islands plugins.

Supported minecraft versions
I tested this plugin only in 1.15 but it should work on all minecraft versions.

Config

# Leave plugin by Rens van Moorsel 
# The command your Skywars and Bedwars plugin use to leave the game (don't use a /) 
# swLeaveCmd: 'sw leave' 
# bwLeaveCmd: 'bw leave' 
# pvpLeaveCmd: 'pvp leave' 
# tntrunLeaveCmd: 'tntrun leave' 
# tnttagLeaveCmd: 'tnttag leave' 
# luckeyIslandsLeaveCmd: 'li leave' 

# Message when someone uses /leave when he is not in a game 
errorMessage: '&4You are not in a game' 

# The world of the game and the minigame which will be played in the world (sw is skywars, bw is bedwars, pvp is pvp, tntrun is tntrun, tnttag is tnttag, li is luckeyislands) for other worlds use 'none' 
# WorldName: 'sw' 
# WorldName: 'bw' 
# WorldName: 'pvp' 
# WorldName: 'tntrun' 
# WorldName: 'tnttag' 
# WorldName: 'li' 
# WorldName: 'none'


Commands

/leave - leave a game
/mlc set [world] <sw : bw : pvp : tnttag : tntrun : li> - set a minigameworld where you can use /leave
/mlc remove [world] - removes a minigameworld

Permissions

For /leave you don't need permissions. For /mlc set and /mlc remove you need the permission "minigamesleavecommand.admin".

Donate
If you like the plugin, please donate here so I can make more plugins.

Similar projects

Plugin →