• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

[TFS 1.0] Add new groups

oualid6496

Well-Known Member
Joined
Aug 24, 2014
Messages
408
Solutions
4
Reaction score
78
Location
Dordrecht, The Netherlands
atm I do only have 3 diffrent groups players, gamemaster and god
data\XML\group.lua
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<groups>
    <group id="1" name="player" flags="0" access="0" maxdepotitems="0" maxvipentries="0" />
    <group id="2" name="gamemaster" flags="137438953471" access="1" maxdepotitems="0" maxvipentries="200" />
    <group id="3" name="god" flags="272730398714" access="1" maxdepotitems="0" maxvipentries="200" />
</groups>


but I want to change it to
player, tutor, senior tutor, gamemaster and admin I tryd this but it didn't work :/
data\XML\group.lua
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<groups>
    <group id="1" name="player" flags="0" access="0" maxdepotitems="0" maxvipentries="0" />
    <group id="2" name="tutor" flags="16809984" access="1" maxdepotitems="0" maxvipentries="200" />
    <group id="3" name="senior tutor" flags="68736352256" access="2" maxdepotitems="0" maxvipentries="200" />
    <group id="4" name="gamemaster" flags="3808558964575" access="3" maxdepotitems="0" maxvipentries="200" />
    <group id="5" name="community manager" flags="3840774348794" access="4" maxdepotitems="0" maxvipentries="200" />
    <group id="6" name="admin" flags="3845069447162" access="5" maxdepotitems="0" maxvipentries="200" />
</groups>

Do I have to change something else or did I just do somthing wrong here? (I used the flags of my 10.10 ot)

@Limos @Ninja @WibbenZ @Mariuskens
 
With TFS 1.0 to make a character with elevated privileges you have to edits in the database the characters GroupID and the accounts type in order for it to work.
 
But I did change all the commands in talkactions to acces 1,2,3,4,5,6

~~edit~~
It worked thx ;) 23:48 You see yourself. You are admin.
I cant use commands but that's probably because I have to change everything in talkactions to acces 1 :>

~~edit~~
@Limos I did change everything in talkactions.lua to acces 1 but I still cant use any commands :/
 
Last edited:
Did you set type to 5 in accounts?

What do you have in talkactions.lua? In the default TFS 1.0 this lib file is empty.
If you mean talkactions.xml, the acces to commands is based on acctype and this is added in the Lua script.
 
Back
Top