Sueta

WakeUp

1.0

Loop of title, subtitle, sounds all time before he will not do an action!

·Plugin

WakeUp.png Do you ever want that an afk player knows that you waited too long for his return back to the computer?

He obviously will not listen to you if he is away from his computer when you send him normal text messages..

WakeUp solve this problem, with a loop (actived by using the /wakeup command on a playername) it will send all time [before he didn't return back and do an action (can be a movement, item drop, chat message, command execute, inventory open, inventory close, etc)] title, subtitle & sounds to the player that you executed the put under Wake Up.

YouTube
(S14Test executes /wakeup Sitieno14 command)

Skript License:

  • This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Italy License.

Contact:
-
Telegram: @Sitieno14_bot (act like it's a contact, isn't really a bot)
Please if you find a bug or wanna suggest a feature contact me on telegram reporting/talking about it and I will fix or add new features with a new version release.

Features:
- Wake up with title;
- Wake up with subtitle;
- Wake up with sounds;
- Wake up until the under Wake Up player doesn't do an action in the game.


Dependencies:

  • (Included in the .zip for 1.8.x versions)
  • skRayFall
  • Skript
  • SkQuery

Command - Permission - Function:
/wakeup
<playername> - wakeup.use - Wake up a player!

"API for developers":
When you execute /wakeup on a player this skript saves in a variable named {WakeUp::<UnderWakeUpPlayer>} the value "<who put him under wakeup>".

Example:
James issue server command: /wakeup Miles
{WakeUp::Miles} contains now the value "James"

Some examples of how you can use this "API for developers":

command /checkwakeup [<player>]:
    trigger:
        if arg 1 is set:
            if {WakeUp::%arg 1%} is set:
                send "&6%arg 1% &eis under &aWake Up &eat the moment"
                send "&eWho put him under &aWake Up&7: &6%{WakeUp::%arg 1%}%"
                stop
            else:
                send "&6%arg 1% &eisn't actually under &aWake Up"
                stop

Similar projects

Plugin →