Resource icon

Script Server Update Display 1.1

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Contributors
mccrafter1212
Supported Minecraft Versions
  1. 1.10
  2. 1.11
  3. 1.12
Server Update Display
Display updates you make to your server to your players!
Upon a player joining they'll be given a title and subtitle for each new update. This plugin was coded with large servers in mind coming with a Developer API, very flexible configuration, and memory saving.

Dependencies
Skript (Recommended: Bensku 2.2 dev34)

Tested Versions
• 1.12.x (Spigot / Bukkit)
• 1.11.x (Spigot / Bukkit)
• 1.10.x (Spigot / Bukkit)

Commands
/updates add updateText
Upon adding a new update you'll be given an updateID which you can use to remove the update.
/updates remove updateID
Remove an update within the list having the specified ID.
/updates clear
Remove all updates
/updates list
List all existing updates along with their IDs.
/updates view
View the current updates and make sure everything is running smoothly.
/updates toggle
Toggle viewing updates when you join the game.

Permissions
• updates.admin Gives access to /updates add, /updates remove, /updates list and /updates clear
updates.toggle Gives access to /updates toggle

Configuration
The configuration is extremely lenient allowing for all displayed text to be changed, permission nodes to be changed, colors to be changed, and much more. Within the script every configuration option is explained in detail.

Developer API
A developer API has been included coming with 5 functions.
addUpdate(updateName: text)
Add an update to the update list
removeUpdate(updateID: integer)
Remove an update from the update list
clearUpdates()
Clear all updates from the update list
viewUpdates(p: player)
Display the updates to a player
hasPlayerPermission(p: player, perm: text)
Check if a player has a permission
(this was made since I didn't want to make a work-around to 'does not have permission')
{updates.totalupdates}
A variable containing the total amount of updates ever created
{updates.updatesList::*}
A variable containing the list of updates

Screenshots
Adding an update
1bkYAtg.png

Viewing updates
b4SBwQi.png

Viewing update list
YIjkQ6c.png

Removing an update
IOCcIlY.png

Configuration
PtmCqh6.png

Future Updates
• Support for clients disabling viewing updates on joining [COMPLETE]
• A nicer help message
• Adding a configuration option displaying updates only once to players

Conclusion
Please download this, it would really make my day if you did. I spent a decent amount of time working on this script and would appreciate anyone who leaves feedback as well as suggestions. If you find any issues please mention them so I can get to work on a fix as soon as possible.
Author
mccrafter1212
Downloads
968
Views
968
First release
Last update
Rating
0.00 star(s) 0 ratings

Latest updates

  1. Version 1.1

    Version 1.1 :D The first version after release! This version includes the following...