• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.
Resource icon

TFS 1.4+ Guild System – Classic Style! 2025-03-05

No permission to download

Mateus Robeerto

Legendary OT User
Joined
Jun 5, 2016
Messages
1,744
Solutions
92
Reaction score
1,256
Location
ლ(ಠ益ಠლ)
Mateus Robeerto submitted a new resource:

TFS 1.4+ Guild System – Classic Style! - Revscripts

I was working on this system just for fun, but I ended up really liking it. Who remembers the old TFS 0.x, 0.3.6, and 0.x days when you could use the !create guild name command to invite other players? Good times!

I decided to share it with the Otland community. It's working and has been tested on version 1.4.2 (build 1098). I believe it should work from 1.3+ onwards.

Here are the images...
View attachment 90734[ATTACH type="full"...

Read more about this resource...
 
I was thinking about creating something like this too but my lazyness killed me :D
Thanks for release
Great job mate
 
Hello Otland, we now have an NPC for guilds as well! Just say "hi" and "guild" to create a guild. Give your guild a name and confirm with "yes."


Guild creation requires level 50+ by default, but you can adjust this as needed.


The premium setting can be true or false:


  • If false, a premium account is not required to create a guild.
  • If true, a premium account is required.

The cost to create a guild is 20k, but you can increase it or set it to 0 to make it free.


If a leader invites a player to the guild and they don't accept within 24 hours, the invitation will automatically expire and can no longer be accepted.


If there are any missing details or additional features you'd like, let me know so I can add them—I sometimes forget!

You need to execute this in your database here:
SQL:
CREATE TABLE IF NOT EXISTS `guild_invitations` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `player_id` int(11) NOT NULL,
    `guild_id` int(11) NOT NULL,
    `expiration` int(11) NOT NULL,
    PRIMARY KEY (`id`),
    KEY `player_id` (`player_id`),
    KEY `guild_id` (`guild_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

SQL:
ALTER TABLE guilds ADD COLUMN points INT(11) NOT NULL DEFAULT 0, ADD COLUMN level INT(11) NOT NULL DEFAULT 0;
 

Attachments

Back
Top