Sueta
PL

Placeholders in Commands

1.0

Run commands with placeholders in

·Plugin

This plugin allows you to use placeholders in commands which didn't support placeholders.

Using PlaceholderAPI, which is needed to run the plugin correctly

Permissions:
- placeholdersincommands: Gives access to both commands

Commands:
- globalplaceholders: Placeholders will be determined on random player
- playerplaceholders: Will be determined on a specific player

globalplaceholders command:
Usage: /globalplaceholders [command with placeholders]
Example using a global time placeholder:
/globalplaceholders say %servertime_time%
This will make the sender run another command with translated placeholders. e.g. /say 7:12

playerplaceholders command:
Usage: /playerplaceholders [player] [command with placeholders]
Example using player hp placeholder:
/playerplaceholders Notch say %player_hp%
This will make the sender run another command with traslated placeholders - value is calculated from player Notch. e.g. /say 19
You can also load player's name from a global placeholder:
/playerplaceholders %leaderboards_money_top1% say %player_hp%

Similar projects

Plugin →