Minigames /leave command
1.1.2Lightweight /leave plugin for minigames (skywars bedwars pvp tnttag tntrun and luckeyislands)
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 →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta