Magic Sidebar

Verified High Quality Magic Sidebar 1.0

This script was verified by the Denizen team to be a particularly high quality example of how scripts are written.
Denizen Version
REL-1736
This script will give you an automatically updating toggleable sidebar!
As a special feature, you can even have sidebar text that scrolls!

16b93f.gif


Requires you configure the sidebar via a simple yaml configuration bit at the top of the file, which looks like this:
Code:
    lines:
    - "[scroll:20/5]<&a>Welcome to <&6>my server<&a>, <&b><player.name><&a>!"
    - "<&8>-----------------------"
    - "Ping: <&b><player.ping>"
    - "Location: <&b><player.location.simple.before_last[,].replace[,].with[<&f>,<&b>]>"
    - "Online Players: <&b><server.list_online_players.size><&f>/<&b><server.max_players>"

GitHub: https://github.com/mcmonkeyprojects/DenizenSampleScripts/blob/master/magic_sidebar.dsc


NOTE TO USERS NEW TO DENIZEN:
This is a Denizen script! Denizen is a scripting engine that functions as a plugin for Spigot. Download Denizen here: https://ci.citizensnpcs.co/job/Denizen/ or learn more about Denizen here: https://guide.denizenscript.com/guides/background/what-is-denizen.html

Installation:
- Install Denizen if you haven't already.
- Save this script file (a .dsc you can download with the orange button at the top-right of this page) to the "plugins/Denizen/scripts" folder
- Type "/ex reload" in-game to load it in.
- Configure the sidebar contents at the top of the script file (See also the guide page about the script editor)
Author
mcmonkey
Downloads
553
Views
1,681
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from mcmonkey

Share this resource

Latest reviews

Seems to work fine. You need to change a single tag to avoid errors in the console tho. On line 69 you need to change "server.current_time_millis" to "util.current_time_millis". This fixed the errors in the console as "server.current_time_millis" is deprecated. There might be a better fix out there but it worked for me