How make Moderator and vip in [YANK] Admin Script
5 replies



21.04.18 08:02:05 pm
Hi everybody,
Can anybody help me, how i can make vip's moderators, supporter on [YANK] Bass power admin script?
Please Define me with example
Can anybody help me, how i can make vip's moderators, supporter on [YANK] Bass power admin script?
Please Define me with example
FRiendly boYy.
Bass>>notes.lua
This is what i used in my server.
Also edit the"notes.commands" which is right below this code to set the minimum level required for various commands else you end up in chaos
Code:
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
notes.groups = {
[-1] = {level = -1, suffix = "Idiot"};
[0] = {level = 0, suffix = "User"};
[1] = {level = 1, suffix = "Vip"};
[2] = {level = 2, suffix = "Academy"};
[3] = {level = 3, suffix = "Warrior"};
[4] = {level = 4, suffix = "Mod"};
[5] = {level = 5, suffix = "ViceLeader"};
[6] = {level = 6, suffix = "Clan Leader"};
[7] = {level = 7, suffix = "Hoster"};
}
[-1] = {level = -1, suffix = "Idiot"};
[0] = {level = 0, suffix = "User"};
[1] = {level = 1, suffix = "Vip"};
[2] = {level = 2, suffix = "Academy"};
[3] = {level = 3, suffix = "Warrior"};
[4] = {level = 4, suffix = "Mod"};
[5] = {level = 5, suffix = "ViceLeader"};
[6] = {level = 6, suffix = "Clan Leader"};
[7] = {level = 7, suffix = "Hoster"};
}
This is what i used in my server.
Also edit the"notes.commands" which is right below this code to set the minimum level required for various commands else you end up in chaos

21.04.18 08:28:49 pm
Hey @
Ajmin: I mean ,
How i make Staffs in this script like;
115684 -- Vip
112698 -- idoit
136456 -- Moderator
149463 -- Supporter etc

How i make Staffs in this script like;
115684 -- Vip
112698 -- idoit
136456 -- Moderator
149463 -- Supporter etc
FRiendly boYy.
I just took a look at the commands in sys/bass/deck.lua
As far as I understand that the needed command is "setrank <id or USGN ID> <level>". Replace the first part <id or USGN ID> with the ID of the player you want to promote or demote and the second part with the new rank. It should probably look something like this: "!setrank 1111 4". You will need an @ for USGN IDs.
Please note that you have to be level 4 (owner) for this command to work. If you want to set your own rank at the beginning I think you have to change the file name inside sys/lua/users called "YOURUSGNID.txt.txt". Change the "YOURUSGNID.txt" to your USGN ID. The end result could be for example: "1111.txt"
The default file content is already "rank=4", so you don't need to change this.
@
Man Of Steel: To be honest, I didn't find that. Then again, I didn't search long for it.
As far as I understand that the needed command is "setrank <id or USGN ID> <level>". Replace the first part <id or USGN ID> with the ID of the player you want to promote or demote and the second part with the new rank. It should probably look something like this: "!setrank 1111 4". You will need an @ for USGN IDs.
Please note that you have to be level 4 (owner) for this command to work. If you want to set your own rank at the beginning I think you have to change the file name inside sys/lua/users called "YOURUSGNID.txt.txt". Change the "YOURUSGNID.txt" to your USGN ID. The end result could be for example: "1111.txt"
The default file content is already "rank=4", so you don't need to change this.
@


Hexenverbrennung, Inquisition, Kreuzzüge... Wir wissen, wie man feiert! - Ihre Kirche
Basically, just navigate to sys/lua/users and create a text file there named after the target USGN id. Then, write "rank=<desiredRankLevel>" (Levels are defined on sys/bass/deck.lua).
For example, this would make me VIP:
For example, this would make me VIP:



