English How make Moderator and vip in [YANK] Admin Script

5 replies
Goto Page
To the start Previous 1 Next To the start
Up
Man Of Steel
User
Offline Off
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
FRiendly boYy.
21.04.18 08:17:09 pm
Up
JeeewNazi
User
Offline Off
Bass>>notes.lua

Code:
1
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"};
}


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
Up
Man Of Steel
User
Offline Off
Hey @user JeeewNazi: I mean ,

How i make Staffs in this script like;

115684 -- Vip
112698 -- idoit
136456 -- Moderator
149463 -- Supporter etc
FRiendly boYy.
21.04.18 09:26:58 pm
Up
JeeewNazi
User
Offline Off
There's a wonderful file description out there,You will know only if you would read.
21.04.18 09:39:48 pm
Up
Nova
User
Offline Off
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.

@user Man Of Steel: To be honest, I didn't find that. Then again, I didn't search long for it.
Hexenverbrennung, Inquisition, Kreuzzüge... Wir wissen, wie man feiert! - Ihre Kirche
25.04.18 10:16:04 pm
Up
_Yank
User
Offline Off
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:
To the start Previous 1 Next To the start