Command PowerUps
1.0.2A plugin to create PowerUps which can perfom commands on a pickup event.
NOTE: THIS IS MY FIRST PLUGIN I'VE EVER MADE.
ABOUT THIS PLUGIN
- Hello, so I heard you want to add a little bit of fun to your server?
- With this plugin, you can create one or multiple PowerUps which can be picked up by Player.
- When picked up by a Player, a console will choose one random command that you've previously configured.
- (ADDED) Now you can also create an item which will on pick up also play a random powerup command! (Can be turned off in a config.) (Off by default.)
FEATURES
- Create as many PowerUps as you want!
- Easily remove them.
- Add a cooldown(After this time another cooldown will spawn)
- Add as many commands as you want!(Those commands will be randomly selected on a pickup event!)
- %player% placeholder can be used in those commands.
- Commands are executed by a console.
- All saved in config.
- Strike lightning upon spawning a new PowerUp! (Can be turned off in a config)
- PowerUp Items - an item which will on pick up also play a random powerup command! (Can be turned off in a config.) (Off by default.)
TO-DO LIST
- For now only OP's can use PU Commands but everybody can pick up PowerUps, I will add permissions later.
- Nicer looking config.
COMMANDS
- /pu help - Shows all PU cmds!
- /pu create <Name> <Name Visibility>
- /pu remove <Name>
- /pu addcmd <CMD>
- /pu removecmd <CMD>
- /pu list
- /pu listcmds
- /pu toggle - Turn PU's On/Off
ITEM COMMANDS:
- /pu additem <Item> - Add a pick up item
- /pu removeitem <Item> - Remove item
- /pu listitems - Get list of added items.
CONFIG:
#PowerUp Plugin by LukaXD
#https:#www.spigotmc.org/resources/command-powerups.54949/
#If you want you can donate but it's not necessarily ^^
#If set to true it will strike a lightning everytime a new powerup spawns!
strike: true
#Prefix that this plugin uses
prefix: '&a[PowerUps]&7 '
#Delay(In Ticks) - After picking up a PowerUp this cooldown starts, and after a cooldown a new PowerUp will spawn!
cooldown: '0'
#Commands that are randomly selected by a plugin:
added-commands: []
#Saved PowerUps:
created-powerups: []
#Toggles Normal PowerUp mode
#If set to true than a normal PowerUp system will work (End Crystal PowerUp)
toggle: false
#Default = false - If set to true than you will be able to get a powerup by picking up items.
useItems: false
#Here you can configure those items but it's better in-game (/pu additem <ITEM>) - example: /pu additem stick
used-items: []
TUTORIAL:
(Ender Crystal Type)
1. /pu create exampeName false (false means that it won't show its name) - repeat this command as much as you want.
2. /pu cooldown 20 - In ticks - 20 Ticks = 1 Second
3. /pu addcmd give %player% stick - This command will give a full stack of sticks to a Player that got PowerUp.
4. /pu toggle - After you've done all previous commands type this CMD to enable PowerUps.
If you want to remove a powerup go nearby to that PowerUp and type:
/pu remove <NAME>.
(Item Pick Up PowerUp)
1. /pu additem <Item> - Example: /pu additem stick - So now when I pick up a stick it will play one random command.
2. /pu addcmd <command> - Example: /pu addcmd give %player% diamond
3. And that's it! :D All you have to do now is to STOP your server and set "useItems: false" to "useItems: true" in your config.
SERVERS USING THIS PLUGIN:
- ...
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