[Mod] Guilds [1.1] [guilds]

Post Reply
User avatar
thvk
Member
Posts: 18
Joined: Sun Jul 19, 2020 17:36
In-game: sirio thvk

[Mod] Guilds [1.1] [guilds]

by thvk » Post

This is a very lightweight mod for creating and managing guilds. It was originaly created for my server THVK-RPG. But i think it shall be available for everybody.

List of commands:
  • "/create_guild guild_name" creates the guild "guild_name" the guild_priv is neede for this.
  • "/my_guild" returns in wich guild you are who is the leader and wich rank you have.
  • "/join_guild guild_name" sends a join request to the guild guild_name.
  • "/accept player_name" accepts the player "player_name" in your guild. You have to be at least rank 5 to do this.
  • "/leave_guild" leaves the guild you are currently in. You cant do this as leader for now.
  • "/gm message" Sends a message to all guild mates.
  • "/declare_war guild_name" Declare war to another guild.(The command just sends a message to all players of the other guild to meet in the pvp arena). You have to be at least rank 8 to do so.
  • "/promote player_name rank" This promotes the player to the given rank. You have to be at least one rank over the rank you want promote to.
  • "/list_guilds" Returns a list of all guilds.
  • "/guilds_menu" shows the guild menu(beta)
I hope you enjoy the mod.

Features:
- Players can have different ranks with different privs
- Message system between guild mates
- Declare war to a guild
- A GUI(beta)

Things im currently working on:
- A GUI(beta)

Notes:
- I think its clear but this mod is only usefull on servers.
- If you want that everybody can create guilds just disable the privs line in the registration of "/create_guild".
Attachments
guilds.zip
(17.14 KiB) Downloaded 52 times
Last edited by thvk on Sat Jan 23, 2021 13:03, edited 12 times in total.
cdb_8adb4ff066be

User avatar
thvk
Member
Posts: 18
Joined: Sun Jul 19, 2020 17:36
In-game: sirio thvk

Re: [Mod] Guilds [1.0] [guilds]

by thvk » Post

This was fast the promote commands are now one command named "/promote player rank" This promotes the player to the given rank. You have to be at least one rank over the rank you want promote to.
cdb_8adb4ff066be

User avatar
thvk
Member
Posts: 18
Joined: Sun Jul 19, 2020 17:36
In-game: sirio thvk

Re: [Mod] Guilds [1.0] [guilds]

by thvk » Post

For the GUI i need formspecs. Is there a good tutorial for that?
cdb_8adb4ff066be

User avatar
thvk
Member
Posts: 18
Joined: Sun Jul 19, 2020 17:36
In-game: sirio thvk

Re: [Mod] Guilds [1.1] [guilds]

by thvk » Post

There is now a beta Menu for managing your guild.
Spoiler
Image
This is what you can do there for now:
  • Join a guild
  • Write chat messages
  • See who is in your guild
  • See your status in the guild
Reach the menu via "/guilds_menu"

Newest version always available in the first thread.
cdb_8adb4ff066be

User avatar
StarNinjas
Member
Posts: 411
Joined: Wed Mar 14, 2018 00:32
GitHub: starninjas
IRC: StarNinjas
In-game: J1
Location: Terrarca
Contact:

Re: [Mod] Guilds [1.1] [guilds]

by StarNinjas » Post

Wow this is awesome looking I will definitely try it out!
Don't go to bed tonight, without knowing what would happen if you died. https://thegospelfilm.org/

Sunge
Member
Posts: 11
Joined: Tue Jan 14, 2020 20:33
GitHub: vraisunge
In-game: Sunge

Re: [Mod] Guilds [1.1] [guilds]

by Sunge » Post

Nice, that looks awesome!
Maybe you could add a function to rename the commands (like aliases), so that I can use eg. "/create_species"
I'll test it

User avatar
thvk
Member
Posts: 18
Joined: Sun Jul 19, 2020 17:36
In-game: sirio thvk

Re: [Mod] Guilds [1.1] [guilds]

by thvk » Post

Will do it when i got some time
cdb_8adb4ff066be

User avatar
thvk
Member
Posts: 18
Joined: Sun Jul 19, 2020 17:36
In-game: sirio thvk

Re: [Mod] Guilds [1.1] [guilds]

by thvk » Post

If you have it a little programming skill you could just change the name of the chatcommands inline.
cdb_8adb4ff066be

User avatar
thvk
Member
Posts: 18
Joined: Sun Jul 19, 2020 17:36
In-game: sirio thvk

Re: [Mod] Guilds [1.1] [guilds]

by thvk » Post

https://content.minetest.net/packages/thvk/guilds/

Officially published to cdb, will receive updates soon.
cdb_8adb4ff066be

User avatar
Liil
Member
Posts: 127
Joined: Thu Dec 03, 2020 15:29

Re: [Mod] Guilds [1.1] [guilds]

by Liil » Post

Can people from a guild share protected chests and building places? It would also be nice, if players in a guild would be safe from friendly fire.
cdb_xMf8awymgVmp

User avatar
snoopy
Member
Posts: 263
Joined: Thu Oct 20, 2016 16:49
Location: DE, European Union

Re: [Mod] Guilds [1.1] [guilds]

by snoopy » Post

Hi,

Quite interesting mod for the MT server. Any findings or results on performance and scaling?
thvk wrote:
Mon Jan 30, 2023 05:00
https://content.minetest.net/packages/thvk/guilds/

Officially published to cdb, will receive updates soon.
@thvk - Congratulations and good luck!

User avatar
thvk
Member
Posts: 18
Joined: Sun Jul 19, 2020 17:36
In-game: sirio thvk

Re: [Mod] Guilds [1.1] [guilds]

by thvk » Post

Liil wrote:
Mon Jan 30, 2023 07:23
Can people from a guild share protected chests and building places? It would also be nice, if players in a guild would be safe from friendly fire.
I will set it on my todo list
cdb_8adb4ff066be

User avatar
thvk
Member
Posts: 18
Joined: Sun Jul 19, 2020 17:36
In-game: sirio thvk

Re: [Mod] Guilds [1.1] [guilds]

by thvk » Post

snoopy wrote:
Mon Jan 30, 2023 07:52
Quite interesting mod for the MT server. Any findings or results on performance and scaling?
not sure what you mean with performance, I was not able to run large scale tests as I am not running a server.
cdb_8adb4ff066be

User avatar
thvk
Member
Posts: 18
Joined: Sun Jul 19, 2020 17:36
In-game: sirio thvk

Re: [Mod] Guilds [1.1] [guilds]

by thvk » Post

Liil wrote:
Mon Jan 30, 2023 07:23
Can people from a guild share protected chests and building places? It would also be nice, if players in a guild would be safe from friendly fire.
I turned friendly fire of, not sure how to do protected chests and building places as that is mod dependend
cdb_8adb4ff066be

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 23 guests