Sueta

QueuedCommands (UUID Support)

1

Delay console commands until user logs in

·Plugin

Delay console commands until user logs in!
Useful for offline rewarding systems like voting or buycraft

Usage:
/QueuedCommand <player> <KeepFor> <target command>

<KeepFor> the command will be executed if the player logs in within the given amount of time (in hours)

Example:
/QueuedCommand Tinkot 1 cr givekey [PLAYER] vote 1

TIP:
You can use [PLAYER] in the target command. it will be replaced with the actual player when he logs in. This is recommended since players can change their name

Installation:
1. install the dependency
2. put the QueuedCommands folder in /plugins/skript/scripts

To Do:
api
sqlite support (because its faster!)

Dependencies:
skUtilities
Umbaska (only used to generate empty yml file)

tested with skript 2.2-dev35b

Similar projects

Plugin →