Page 1 of 1

Magic Sidebar

Posted: March 1st, 2019, 7:51 am
by mcmonkey
This script will give you an automatically updating toggleable sidebar!
As a special feature, you can even have sidebar text that scrolls!

Image

Requires you configure the sidebar via a simple yaml configuration bit at the top of the file, which looks like this:

Code: Select all

    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>" 
Hastebin: https://paste.denizenscript.com/View/83022 <-- Most users, just click here and click "Download the script"

GitHub current version: https://github.com/mcmonkeyprojects/Den ... idebar.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/ ... nizen.html

Re: Magic Sidebar

Posted: December 25th, 2019, 1:19 am
by DarkRisenGamez
What about using placeholders with in Denizen?
Any examples?

BTW love the system :)

Re: Magic Sidebar

Posted: December 25th, 2019, 1:27 am
by mcmonkey
DarkRisenGamez wrote:
December 25th, 2019, 1:19 am
What about using placeholders with in Denizen?
Any examples?

BTW love the system :)
As in PlaceholderAPI?
If you have Depenizen installed, the Placeholder tag: https://one.denizenscript.com/denizen/tags/placeholder <placeholder[some_placeholder_here]>
But in most cases, tags are better! https://one.denizenscript.com/denizen/tags/ there's a whole lot of tags available in Denizen. <player.name> or similar for example.