Admin Notes

Spirion

New member
May 12, 2020
4
0
1
This script is meant to read, add and delete admin notes about users. Did he break a block? Was he arguing with another user? Write it all down so you have complete information when you need to ban him

When a user logs into the server, all other users will see their default input message
WlfwVrV.jpg


But the administrators will see their login message, adding at the end the number of notes it have. In addition, the admins can click on that notes information to see them
4rNpf13.png


You can also consult this information at any time without having to wait for the user to enter the server, just type /notes [player]
MAKfsQJ.jpg


If this user has more than 5 notes, the information will be displayed on different pages. By clicking on >>> you can turn the page
NsjVUbZ.jpg


To add new notes write /notes add [player] [note here]. It will automatically add the administrator name and the date at the end.
To delete a note, write /notes del [player] [index].

Here's the haste link for the script: https://one.denizenscript.com/haste/69075
 

Spirion

New member
May 12, 2020
4
0
1
This is the first script I post because I find it useful. Any comment to improve is welcome :)
 

mcmonkey

Administrator
Staff member
Helper
Bot report:
a0100e.png


- Use the <empty> tag.
- I see a lot like <[toNotes].sub_int[4]>... get rid of the _int stuff, those are special case tools that are rarely ever needed.
- .type[RUN_COMMAND] on a click tag is redundant: that's the default.
- - if <[loop_index]> = 5: that should be ==.
- <&click[/ex run adminNotesDelPages that's a super big no-no. Use a command script!!!