Sueta

Useless Button | Added milestones, Jump n Run and more to co

2.1

A useless button or maybe not?

·Plugin

Dear reader,

this is a new free resource I have created.
It is what it is called, a useless button. It will get less useless over the time, as I add features over the time.
There are some people who have requested this plugin as a big German network uses such a feature as a hub addition.

Createhololol - Creates a hologram at a predefined location.
Deletehololol - Removes the hologram.
Sethololocation - Sets the predefined location of the hologram, I suggest setting it to atleast 1-2 blocks above and 1 block behind the button to have a good expierence.
Setbuttonlocation - Does setup the location of the useless button. It uses the block you are looking at, if it ain't is a button, u will get a message about it.
Holoresetclick - Resets the clickcounter.
Fullholoreset - Deletes the holo location, button location and the hologram itself.
Consoleholo - Ignore that, it just respawns a hologram at the predefined location upon the serverstart and also resets the second line of the sign (which I used to implement the clickcount, if u you change the messages keep in mind to change that line aswell down at the code itself, if u have trouble, ask me :).)
Jarstagetimer [<number>] [<number>] - /jarstagetimer 1 10 <- Does set the stagetime of stage 1 to 10 seconds. It has to be absolved within that time.
Setjarpos - Does set up the JaR postitions (up to 20 stages!), it has to be a button.
Setjarend - Does setup the endpoint of the JaR, it has to be a button.
Ubmilestone [<number>] [<number>] - /ubmilestone 1 1000 <- Does set the milestone 1 to 1000 clicks. (up to 5 milestones)

button.manage - It is the only permission to manage everything!


Create a sign with the lines:

1 = UB
2 = setclicks


it will automatically adjust itself to the following basic lines:

&8.:•Useless Button•:.
&8Clicked: &c%{blocksclicked.count}%
&8keep it up!
&8.:•-----------•:.


Or simply use the hologram and the sign at the same time ;). The sign has to be in a location 10 blocks around the button location you have setup.

I used:
Skript 2.2 dev25 Benskus edit
Latest SkRayFall
Latest Holographic Displays
Latest Protocollib
------
and some other random Sk addons which prolly do not have to be used. If you get a error about missing dependencies, tell me and I will fully list each addon I used.
-------

  1. Install the above said dependencies if you do not have them already.
  2. Download the script and put it into this direction: plugins/skript/scripts
  3. Either load the script ingame or restart the server (which I recommend).

Most likely each message or output is being changeable. Keep in mind to copy the variables in the right way ;). You can change the messages and signlayout at the top of the script.
If you have any trouble, send me a message or ask in the discussion part!:)
If you have any resource idea, hit me up with it!:D

Rewards for the milestones:
-> They are located at the lines 160+161, 165+166, 172+173, 178+179, 184+185. You need some basic knowledge of Skript to change the reward(s). If you need help, contact me, I am glad to help!

Rewards for the JaR:

-> It is located at the line 914, again you need some basic knowledge of Skript to change it, if you need help, ask for it.

Screens

Version 1.0



Version 2.0

Similar projects

Plugin →