Jump to content
Message added by Mevent,

Thanks for your interest in my plugin!

If you have any questions or issues with the plugin, please contact me.
For support related questions, please create a thread in the Support Section or send a direct message to my profile @MeventSupport.

Thanks!

63 Screenshots

  • 194.2k
  • 10k
  • 142 kB
  • Update details
    v2.0.0
    Released
    Download size 142 kB
    Total versions 86
    Typical update pace About every 8 days
    Freshness Updated 5 days ago

About Clans

Clans gives your players one menu for everything a clan does: create it, invite people, hand out roles, make alliances, set gather quotas and clan skins, and check where the clan sits in the top. If you run ServerPanel, the menu opens inside it as its own category and matches your template, V1, V2 or V4. Without ServerPanel it opens fullscreen, in the Old Style or the New Rust look.

Clans also takes over Rust's own clan system. The F1 clan menu, the clan chat tab, clan names on the map and Rust+ all show Clans data, and in-game clan score events count toward your clan rating. Players get one clan, not two that disagree with each other.

Clan leaders build their own ranks. A role has a name, a color and twelve rights, from inviting and kicking to changing the avatar or toggling ally friendly fire, so a big clan can run itself without handing everyone leader rights. Data lives in JSON, Protobuf or MySQL, and one console command moves it between them. Updating from 1.x keeps your settings: old moderators become roles and the page settings move into the new menu.

 

US4xphR.png

 

🌟  Features of Clans

  • Five menu layouts – ServerPanel V1, V2 and V4, picked from your ServerPanel template on its own, plus two fullscreen styles, Old Style and New Rust. Every layout is a template file in data/Clans/Templates, where positions, colors and sizes can be changed
  • Clan roles – leaders create roles with their own name and color and pick the rights: invite, kick, promote, demote, alliances, avatar, description, tag color, gather rates, skins, friendly fire and ally friendly fire
  • Rust's clan system runs on Clans – the F1 clan menu, the clan chat tab, clan names on the map and Rust+, with in-game clan score events counting toward the rating
  • Alliances – send, accept, cancel and revoke alliances, with a separate friendly fire switch for allies
  • Friendly fire – per clan, with turret protection for clan mates as an option
  • Gather rates – the clan sets how much of each resource every member has to bring in, and the menu shows how far each member got
  • Clan skins – one set of skins for the whole clan, so you can tell your own people from the enemy at a glance
  • Clan identity – avatar, tag color and a description, each behind its own role right
  • Clan and player tops – pages with a page number field; the columns and the stat tiles on the About Clan page and in profiles are set in the config, each can be turned off or put behind a permission
  • Player and clan profiles – open them from the member lists and the top tables
  • Your menu, your pages – reorder, rename, hide or lock menu categories and pages behind permissions
  • Paid actions – charge for creating, joining, leaving, kicking, disbanding, setting skins or the avatar, and for invites, through any economy plugin or with items
  • Tag rules – minimum and maximum length, a blocked words list and an allowed characters filter. Errors show right in the Create a clan window
  • Clan and alliance chat, with BetterChat support
  • Clans Discord companion plugin – clan events and clan chat go to Discord through webhooks, and clan leaders can set their own webhook
  • Storage – JSON, Protobuf or MySQL, and clans.convertstorage moves everything to another type
  • Cleanup – purge inactive clans, and wipe clans, players or invites on a new map, each on its own switch
  • Built for big servers – the top is rebuilt in small steps, data is written only when something changed, and the menu template is prepared in the background at startup

 

⚡  Performance

Clans is built for big servers. Statistics, friendly fire checks and turret targeting run without allocating memory on every call, the clan and player top is rebuilt in small steps instead of one long freeze, and data is written to storage only when something changed.

performance.jpg

 

🖼️  Showcase

Fullscreen – Old Style
preview_fs_old.gif

Fullscreen – New Rust
preview_fs.gif

ServerPanel V1
preview_v1.gif

ServerPanel V2
preview_v2.gif

ServerPanel V4
preview_v4.gif

 

✨  What Makes It Different

Clan roles – a name, a color and twelve rights per role
roles.png

Rust's own clan menu shows the same clan
f1.png

Clan events and chat in Discord
discord.png

 

🎮  Commands

Players (the /clan and /clans names can be changed in the config):

  • /clan – open the clan menu
  • /clan create <tag> – create a clan
  • /clan disband – disband your clan
  • /clan leave – leave your clan
  • /clan join – open your invites
  • /clan invite <name/steamid>, /clan withdraw <name/steamid> – invite a player, cancel an invite
  • /clan kick <name/steamid> – kick a member
  • /clan promote <name/steamid>, /clan demote <name/steamid> – move a member up or down a role
  • /clan allyinvite <tag>, allywithdraw, allyaccept, allycancel, allyrevoke <tag> – manage alliances
  • /clan ff, /clan allyff (also /cff, /aff) – toggle friendly fire for the clan and for allies
  • /clan description <text>, /clan tagcolor <hex> – set the description and the tag color
  • /clan discord – set the clan's Discord webhook (Clans Discord)
  • /cinfo <tag> – information about a clan
  • /c, /cchat – clan chat; /a, /achat – alliance chat

Admins (clans.manage, needs clans.admin😞

  • list, listex – all clans, with members and online status in listex
  • show [name/userId] – one clan and its members
  • msg [clanTag] [message] – send a message to a clan
  • create [name/userId] [clanTag], rename [oldTag] [newTag], disband [clanTag]
  • invite, join, kick, owner, promote, demote [clanTag] [name/userId]

Console:

  • clans.convertstorage <JSON|Protobuf|MySQL> – move all player and clan data to another storage type
  • clans.refreshtop – rebuild the clan and player top now
  • clans.refreshskins – reload the skins players can pick for clan skins
  • clans.reborn.convert (Clans Converter) reads the data file of Clans Reborn (data/Clans.json) and makes clans from it
  • clans.umod.convert (Clans Converter) does the same for the uMod Clans plugin (data/clan_data.json)
  • clans.convert.olddata (Clans Converter) moves player settings from the data of Clans 1.x, such as friendly fire and clan skins
  • clans.import.playerdatabase [field] (Clans Converter) brings player data over from the PlayerDatabase plugin. The field name defaults to Clans, and PlayerDatabase has to be loaded

 

🛡️  Permissions

  • clans.admin – the clans.manage command
  • clans.cancreate, clans.canjoin, clans.canleave, clans.candisband, clans.cankick, clans.canskins – each is checked only when its switch is on in the "Permission Settings" section of the config

Menu categories, pages, top columns, stat tiles, clan skins and the avatar change can each take a permission name of your own. The plugin registers it on load.

 

⚙️ Web Config Editor

Manage your Clans settings in our web-based configuration editor. Every section of the config gets its own form, so you can set up roles, pages, top columns, paid actions and storage without editing the JSON file by hand.

Web Config Editor
web_editor.gif

P.S. Join our Discord at https://discord.gg/mevent and request the "Clans" group for access to the web configuration editor.

 

🎥  Video

 

🧪  TEST SERVER

Join our test server to view and experience all our unique features yourself!
Copy the IP Address below to start playing!

connect 194.147.90.239:28015

 

📚  FAQ

Q: What are the files in the download, and which ones do I need?
A: The archive has three plugin files, and only Clans.cs is required. It is the plugin itself, with the menu, roles, alliances, gather rates, skins, tops and storage, and it runs fine without the other two. ClansDiscord.cs is optional: it posts clan events and clan chat to Discord webhooks, so skip it if you do not use Discord. To use it, put your server webhook into "Admin webhook URL". Every event has its own switch and color, and team chat is off by default. Clan leaders can add their own webhook with the DISCORD button or /clan discord, and you can limit that to a permission and to the hosts you allow. ClansConverter.cs is optional and needed once, only when you move clan data from another plugin: install it, run the matching command from the server console or RCON (they do not work from the in-game F1 console), check that your clans came over, then delete the file. The commands are listed under Console above. If you start from scratch, you do not need it.

Q: How do I add Clans to ServerPanel?
A: In ServerPanel, create a category with Type: Plugin, Plugin Name: Clans, Plugin Hook: API_OpenPlugin. Clans reads your ServerPanel template and picks the matching layout: t1 and t1_1 give V1, t2 and t3 give V2, t4 gives V4. While that category exists, /clan opens it. To force a layout, set "UI Pattern" in the config to V1, V2, V4 or Fullscreen instead of Auto.

Q: Which storage type should I pick?
A: JSON is the default and works out of the box. Protobuf is faster and smaller on disk for big servers. MySQL lets several servers share clan data. You can switch any time with clans.convertstorage.

Q: I am updating from Clans 1.x. What happens to my data?
A: Clans and settings carry over. Old moderator settings and member colors become clan roles, and the page settings move into the new menu categories. The interface settings moved from the config to the template files in data/Clans/Templates. If you used PlayerDatabase, run clans.import.playerdatabase from Clans Converter once.

Q: Does Clans work with my other plugins?
A: Clans has the same API as other popular clans plugins, so plugins that support clans work with it too.

Q: How do I show the clan top on the screen?
A: Install Clans Top.

Q: Which other plugins do I need?
A: ImageLibrary on Oxide, for avatars and icons. Carbon has the image module built in.

Q: Where do I edit the text, or add my own language?
A: oxide/lang/en/Clans.json (or carbon/lang/en/). Copy it to lang/<code>/Clans.json and translate the values. English and Russian are included.

Q: Where can I see an example of the config?
A: Config

 

🔧  Hooks

void OnClanCreate(string tag)
void OnClanCreated(IClan clan, ulong leaderId)
void OnClanUpdate(string tag)
void OnClanDestroy(string tag)
void OnClanDisbanded(string tag, List<ulong> memberUserIDs)
void OnClanRenamed(string oldTag, string newTag)
void OnClanLeaderChanged(ulong newLeader, ulong oldLeader, string tag)
void OnClanMemberJoined(ulong userId, string tag)
void OnClanMemberLeft(ulong userId, string tag)
void OnClanMemberGone(ulong userId, string tag)
void OnClanMemberKicked(ulong userId, ulong actorId, string tag)
void OnClanMemberPromoted(ulong userId, ulong actorId, string tag, string role)
void OnClanMemberDemoted(ulong userId, ulong actorId, string tag, string role)
void OnClanInvite(ulong inviterId, ulong targetId, string tag)
void OnClanInviteRejected(ulong userId, string tag)
void OnClanInviteWithdrawn(ulong inviterId, ulong targetId, string tag)
void OnClanAllianceInvite(string tag, string targetTag, ulong actorId)
void OnClanAllianceAccepted(string tag, string targetTag, ulong actorId)
void OnClanAllianceInviteRejected(string tag, string targetTag, ulong actorId)
void OnClanAllianceInviteWithdrawn(string tag, string targetTag, ulong actorId)
void OnClanAllianceRevoked(string tag, string targetTag, ulong actorId)
void OnClanChat(BasePlayer player, string message, string tag)
void OnClanTopUpdated()

 

Questions, ideas and bug reports go to our Discord.

  • Like 9
  • Love 9

Mevent's Collection

User Feedback

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.1m
Total downloads
Customers
12.2k
Customers served
Files Sold
172.8k
Total sales
Payments
3.8m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.