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

How can i remove the market from my server?

sururuts

Active Member
Joined
Sep 14, 2010
Messages
77
Reaction score
44
Hello, Im using TFS 1.4 with client version 10.98, and im trying to remove the market system (or the players access to it) from my server

I tried looking in the sources and in the server scripts but didn't find anything I could change (im not very familiar with TFS code yet)

anyone know where should I go to remove the system or the marketplace button from the locker?
1644145273384.png

Sry if this is a newbie question, but i didn't find it anywhere in the google or the codes
Post automatically merged:

Nekiro helped me with the solution in discord

if anyone wonders how to do it in the future

you just need to go in Player.cpp and remove or comment the line:
Lua:
it->second->internalAddThing(Item::CreateItem(ITEM_MARKET));

then compile the sources again, it will remove the market item from locker
 
Last edited:
Back
Top