• 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!

[TFS 1.1] Groups and talkactions Commands

antonio664

Member
Joined
Jan 9, 2013
Messages
129
Reaction score
5
I want to add a tutor but there is no group for tutors in tfs 1.1.
I would also add some gamemaster commands for tutors.

Help please?

Thanks!
 
I don't know if there is a group for Senior Tutor.

Change theses codes:
https://github.com/otland/forgottenserver/blob/1.1/data/talkactions/scripts/kick.lua#L2-L4
https://github.com/otland/forgottenserver/blob/1.1/data/talkactions/scripts/ban.lua#L3-L6

to
Code:
if player:getAccountType() <= ACCOUNT_TYPE_TUTOR then
   return true
end

I think it is what do you want.

thanks for the help and sorry for the delay !
there is no way to let the same old system "group_id" ?
 
Back
Top