Inactive [MECH/INFO] Clans v1.8.2 -Team Chat, Organization, Optional Area Defenses + More [1185]

Discussion in 'Inactive/Unsupported Plugins' started by Satros, Jun 4, 2011.

  1. Offline

    Satros

    Clans - Team Chat, Organization, Optional Area Defenses + More!
    Version: v1.8.2
    Works with bukkit release [1185], [1060], [860], [818]

    This plugin aims to make PVP more fun by adding a team/faction/clan type aspect to the game, while only making minimal and optional restrictions to normal minecraft gameplay. (Semi-Vanilla). Clans is extremely configurable as to not impose any features on server admins that they may not want. Teams are simple to use but also very customizable.

    Features:
    • Team Chat
    • Easy Team Organization (Saves teams when server goes offline, team lists, etc)
    • Customizable ranks within teams
    • Optional use of Team Area Defenses
    • Optional clan tags and colors in chat
    • Optionally turn Friendly-Fire off or on
    • Permissions support (Optional)
    • --Permissions Prefix/Suffix Chat Support (Optional)
    • iConomy support (Optional)
    Download Clans v1.8.2:
    Clans v1.8.2
    1.8 Source Code

    Old Versions:
    (Clans v1.8.1)(Clans v1.8 | src)(Clans v1.7 | src)(Clans v1.6 | src)

    Conflicts:
    **May Conflict with plugins that modify Chat, if this is the case set "use-chat-tags: " to false in the config file or disable the conflicting plugin.
    **Will also conflict with any plugins that have /t or /team commands.
    KNOWN CONFLICTING PLUGINS
    • iChat (Chat Related, set use-chat-tags: false or disable iChat)
    • HeroicChat (Chat Related, set use-chat-tags: false)
    • Essentials (Not sure why, probably multiple reasons)
    • War (uses /team)
    Config (config.cfg)

    Show Spoiler

    use-chat-tags: true
    use-clans-chat: true
    inc-permissions-prefixandsuffix: false
    max-tag-characters: 6
    tag-orientation: right

    min-teamlist-teamsize: 3
    min-color-teamsize: 3
    min-area-teamsize: 15

    team-kill-default: true
    allow-tk-toggle: false

    use-team-areas: true
    max-team-area: 210
    allow-guardian: true
    guardian-damage: 1
    allow-alerter: true
    alert-time-buffer: 25

    #Costs
    use-iconomy: false

    #Recommend increasing these if using iConomy
    create-team-cost: 0
    team-area-cost: 10
    guardian-cost: 50
    alerter-cost: 25

    #These are not used if using iConomy
    create-team-currency: 41
    team-area-currency: 41
    guardian-currency: 41
    alerter-currency: 41
    Config Meanings
    Show Spoiler

    use chat tags - use to disable clan tags in chat.
    use clans chat - disable if you plan on using another chat plugin such as Heroic chat, iChat, or Essentials Chat.
    inc permissions prefixandsuffix - if using clans chat, whether or not to include the suffixes and prefixes from permissions, also if a prefix is only a color it will be applied to the playername otherwise the tag (if on the left) would make it do nothing.
    max tag characters - the max characters in a clan tag
    tag orientation - whether the clan tag is displaed before or after a players name in chat

    min teamlist teamsize - minimum number of team members a team must have to show up on /team list
    min color teamsize - minimum number of team members a team must have to set their color
    min area teamsize: - minimum number of team members a team must have to use team area commands

    team kill default - whether friendly fire is on or off be default
    allow tk toggle - whether players can toggle friendly fire on and off

    use team areas - whether or not teams have have areas, if set to false will not take any extra resources for areas
    max team area - the maximum size a team area can grow to
    allow guardian - whether or not teams can buy and use offline area protection
    guardian damage - the amount of damage offline area protection does to those who place or destroy blocks, 1 = half a heart
    allow alerter - whether or not teams can buy and use intruder alerts for their area
    alert time buffer - how long between intruder alerts are received in chat, in seconds

    use iconomy - whether or not you want to use iConomoy for area and team creation purchases

    create team cost - the cost of creating a team, either for iConomy or in items below
    team area cost - the cost of claiming a team area, either for iConomy or in items below
    guardian cost - the cost of getting offline area protection, either for iConomy or in items below
    alerter cost - the cost of getting intruder alerts, either for iConomy or in items below

    #These are not used if using iConomy
    create team currency - item number used for purchasing the above, not used if using iConomy
    team area currency - item number used for purchasing the above, not used if using iConomy
    guardian currency - item number used for purchasing the above, not used if using iConomy
    alerter currency - item number used for purchasing the above, not used if using iConomy


    Commands:
    Show Spoiler

    Team Chat
    /t <MESSAGE> Message your entire team.

    Team General Commands
    /team help <1/2/3/4> Lists commands and what they do.
    /team create <teamname> Creates a team.

    /team invite <playername> Invites a player to your team. **CASE SENSITIVE**
    /team accept Accept your most recent invite to join a team.
    /team reject Reject your most recent invite to join a team.
    /team leave Quit a team.
    /team disband Deletes a team if you are the last one in it.
    /team info Lists players and rankings of your own team.
    /team info <teamname> Lists players and rankings of a specified team.
    /team online Lists team members that are online.
    /team list Lists all teams with more than the configured number of members and how many members they have.
    /team kick <playername> Kicks a player from the team **CASE SENSITIVE**
    /team motd Displays the team's Message of the Day (Also displays at login).
    /team motd <message> Sets a team's Message of the Day **LEADER ONLY**
    /team tag <tag> Sets a team's tag **LEADER ONLY**
    /team color <color> Sets the color of the team's tag. **LEADER ONLY**
    Possible Color Values: DARK_BLUE, DARK_GREEN, DARK_AQUA, DARK_RED, DARK_PURPLE, GOLD, GRAY(Default), BLUE, GREEN, AQUA, LIGHT_PURPLE, YELLOW
    /team tk <on/off> Turns friendly fire/team killing on or off.


    Team Ranks
    /team rankcreate <rankname> Creates a new rank at the bottom of your team's ranks.
    /team rankname <ranknumber> <rankname> Renames a rank.
    /team setrank <playername> <ranknumber> Sets the rank of a player in the team.
    /team rankmoveall <oldranknumber> <newranknumber> Moves all players in a rank to a new rank **LEADER ONLY**
    /team rankflag <ranknumber> <kick/teamchat/rankedit/invite/promote> <true/false> Sets the permissions for a specified rank.
    /team rankinfo <ranknumber> Gives the rank name and rank's permissions for a specified rank.
    /team rankdelete <ranknumber> Deletes a rank from the team structure, rank must be empty.


    Team Area Defenses (Can be disabled in config)
    /team BuyArea <areaname>
    This sets an area based on the origin of the user. The radius of the area is based on team size with a max radius that can be configured. Costs a configured amount of items to use, default is 10 gold blocks, (must have in inventory). Must have at least the configured minimum area team size (default 15) members in your team to use. LEADER ONLY COMMAND. THIS IS A REQUIREMENT TO BUY THE BELOW DEFENSES:
    /team BuyAlert
    This will add intruder alerts to your area. If a player who is not on your team places or destroys within your team's area all online players will be alerted. (Does not alert if the last alert was within 20 seconds as to not spam chat). Costs a configured amount of items (Default 25 gold blocks). LEADER ONLY.
    /team BuyGuardian
    This will add offline protection to your base as described by the following: If an entire team is offline and they have guardian, if a player not in that team tries to break or place a block in the team's area the player will lose half a heart of health IF AND ONLY IF that player was not already inside the team's area when the team became offline. This is to protect from people logging off explicitly to protect their base. (This means if someone is in your base and you log off they wont get hurt and can destroy all they want). Costs a configured amount of items (Default 50 gold blocks). LEADER ONLY.


    Permission Nodes (Optional)
    Show Spoiler

    To allow all Commands:
    Code:
                - 'clans.all'
    Else use these nodes:
    Code:
                - 'clans.create'
                - 'clans.invite'
                - 'clans.list'
                - 'clans.accept'
                - 'clans.info.self'
                - 'clans.info.other'
                - 'clans.kick'
                - 'clans.leave'
                - 'clans.disband'
                - 'clans.color'
                - 'clans.buyarea'
                - 'clans.buyalert'
                - 'clans.buyguardian'
                - 'clans.motd'
                - 'clans.tag'
                - 'clans.rank.create'
                - 'clans.rank.name'
                - 'clans.rank.set'
                - 'clans.rank.moveall'
                - 'clans.rank.flag'
                - 'clans.rank.info'
                - 'clans.rank.delete'
                - 'clans.teamchat'
                - 'clans.tktoggle'
    


    API
    Show Spoiler

    You can use the Clans API for chat plugins that want to display the proper clans tags with their plug-in;
    First you will need to add Clans.jar to the list of External Jars for your project.

    Next you will need to hook into Clans from the Server Listener, replace [YOURPLUGIN] in the example with the name of your plugin:
    Code:
    import org.bukkit.event.server.PluginDisableEvent;
    import org.bukkit.event.server.PluginEnableEvent;
    import org.bukkit.event.server.ServerListener;
    import org.bukkit.plugin.Plugin;
    
    import com.bukkit.Satros.Clans.Clans;
    
    public class [YOURPLUGIN]ServListener extends ServerListener {
        private [YOURPLUGIN] plugin;
    
        public [YOURPLUGIN]ServListener([YOURPLUGIN] plugin) {
            this.plugin = plugin;
        }
    
        @Override
        public void onPluginDisable(PluginDisableEvent event) {
            if ([YOURPLUGIN].Clans != null) {
                if (event.getPlugin().getDescription().getName().equals("Clans")) {
                    plugin.Clans = null;
                    System.out.println("[[YOURPLUGIN]] un-hooked from Clans.");
                }
            }
        }
    
        @Override
        public void onPluginEnable(PluginEnableEvent event) {
            if (plugin.Clans == null) {
                Plugin Clans = plugin.getServer().getPluginManager().getPlugin("Clans");
    
                if (Clans != null) {
                    if (Clans.isEnabled())
                    {
                        plugin.Clans = (Clans)Clans;
                        System.out.println("[[YOURPLUGIN]] hooked into Clans.");
                    }
                }
            }
        }
    }
    Next in your main plugin class:
    Import:
    Code:
    import com.bukkit.Satros.Clans.Clans;
    In your main plugin class declare:
    Code:
    public static Clans Clans = null;
    Once you do this you are able to use the 3 functions provided.
    Functions:
    Clans.useTags()
    //returns true or false on whether or not tags should be displayed at all. This should be checked first, if this is false then you essentially don't need to do anything.

    Clans.getColorAndTag(String playername)
    //Returns a string, colored tag given a player in the [Tag] form (with brackets and color pre-applied).

    Clans.LeftOrRight()
    //Returns a string "right" or "left" whether the tag should be displayed on the right or left side of a name.

    Here is example code of how clans should work with Chat Plugins within your PlayerListener.
    Code:
        public void onPlayerChat(PlayerChatEvent event)
        {
            String msg = event.getMessage();
            Player player = event.getPlayer();
            event.setCancelled(true);
            if ( [YOURPLUGIN].Clans.UseTags() ) //If clans allows the use of tags
            {
                    //Get pre-assembled tag
                    String tag = [YOURPLUGIN].Clans.getColorAndTag(player.getDisplayName());
                    if ( [YOURPLUGIN].Clans.LeftOrRight().equals("left") //if tag should be on the left
                           plugin.getServer().broadcastMessage(tag + " " + player.getDisplayName() + ": " + msg);
                    else //tag should be on the right
                           plugin.getServer().broadcastMessage(player.getDisplayName() + " " + tag  +  ": " + msg);
            }
            else //do whatever you would normally do
    
      }


    Screenshots:
    Teamchat and Clan Tags
    http://i.imgur.com/vmjvr.png
    Team List
    http://i.imgur.com/9oJ6q.png
    Team Info Command (My Own Team)
    http://i.imgur.com/VUbQc.png
    Team Info Command (Another Team)
    http://i.imgur.com/l4g7N.png
    Team Online Command
    http://i.imgur.com/OobGn.png

    To-Do (In Next Version)
    Change the internal structure
    Blacklisted Areas
    Area List and Area Info
    Area Info Rank Flag
    Optional Capture System
    --Optional Rewards System
    --Optional Score Sytem
    Fixing Rare Ranks Issue

    Planned for the Future
    MySQL Support
    Multiworld Support

    Demo
    Connect to Play.Kingdom-SMP.com:25565

    [​IMG]
    Like my work? Feel free to donate
    Donate

    Changelog:
    Show Spoiler

    Version 1.8.2
    • Fixed bug where people not on in a team wouldn't be able to kill each other with teamkill off by default
    Version 1.8.1
    • Fixed an issue with rank promotion
    • Fixed a bug where setting the team kill default to false wasn't working correctly
    Version 1.8
    • Added Permissions Prefix and Suffix Support for Clans Chat
    • Added API for Chat Plugin Developers to get players Clan Tags and related Config Options
    • No longer allows you to purchase defenses that have already been purchased.
    Version 1.7
    • Added iConomy Support
    • Added Anti-Friendly Fire Configs and Commands
    • Added /team help
    • More config options for clan tags
    • Team info now has rank numbers next to the rank name
    • Revamped the config file and made it less ambiguous
    • Small formatting changes for some errors
    • Creating a tag and color now gives feedback when successful
    • Teams.txt renamed to Teams.dat
    Version 1.6
    • Added config file
    Version 1.5
    • Added Permissions Support.
    Version 1.4
    • Added optional team area defenses for protecting bases.
    • Changed where the team data file is saved
    • Small miscellaneous bug fixes.
    Version 1.2
    • Changed the formatting and colors of the info, list, and t commands.
    • /team list now only displays teams with 2 or more members.
    • Added /team online, to see which members of your team are online.
    • Added a team MOTDs
    Version 1.1
    • Added more frequent saving of Teams
    Version 1
    • Initial Beta Release
     
  2. Offline

    ClickCraft

    Sorry, was not xAuth, but the Essentials
    Because of the /t command
    I think it would be better to change /team and /t to /clan and /mclan
    Something like

    Do not know if this is even possible, but resolve most problems xD
     
  3. Offline

    Satros

    Can you see if it works without Essentials (just once), that way I can tell if that is the issue. I might change around the commands I guess

    I'm not seeing the /t command on Essentials, can you link me to where it shows a /t command?
     
  4. Offline

    Pencil

    Any chance you could try and compile it with the latest craftbukkit build (it fixes ALOT of stuff) i know it's not a RB yet but it would be really awesome because right now it's throwing alot of "CANNOT pass BLA BLA to Clans" etc :3
     
  5. Offline

    tremor

    /t is a /tell alias in essentials chat.. perhaps removing essentials chat may do it OR adding /t to the essentials override list... another way may be to edit the essentials.jar plugin yml and remove the shortcut for /t

    I will try a few different things and see what I can come up with..

    -- EDIT --

    1. Simply removing essentialschat.jar did the trick for me. It only handles chat, so I'm certain it would be no big deal to find a suitable replacement for chat handling.

    -- OTHER --

    1. Perhaps you could make /t into /teamchat and make the /X a configurable option.
    2. What is in place with 2 teams build close to each other to keep their boundaries from overlapping?
    3. Do you have an activity time-out? If a clan member has been inactive on the server for X amount of days they no longer are counted on the team.. this keeps clans from piling up 1 time server players to pad their player count.
    4. A blank /team or a /team help command to list the team commands would also be nice.
     
  6. Offline

    BioRage

    Unnecessary work for the Dev, when he could make the plugin better than it already is.
     
  7. Offline

    Korlinni

    check out line 177 in "Clans.class"

    Tell me if I'm wrong, but shouldn't it be 'string=plugins/Clans' ?
     
  8. Offline

    Satros

    Not possible to make that configurable

    When your team buys an area it will take the max possible area in the config and see if it overlaps with any pre-exisiting area's max possible area, if it does it will not let you.

    Would be nice to add, but im not sure how to get when a player was last online without saving it somewhere first, maybe something I may add in a later version.

    Already planned /team help will be in the next version.

    You are correct, someone else already posted it here though, it will be fixed in the next version (should be out within a day or two).
     
  9. Offline

    Pencil

    Why would it be unneccessary work? There is a 99,99% chance that there will be a RB soon and a 99,99% chance that if he compiles the plugin now it will work for that RB...

    Anyways @ Satros

    Somtimes, happened on 817,818 and 83something (alot on 83something) it shows up in Console: Could not pass Event Player_Chat or something, and people can't talk because of that, like nothing shows up, but a relog fixes that.

    Also could you make it so when you disband a team, it saves it onto the disk right away and when you reload it doesn't appear again?

    Like yesterday i made the team "Test", invited someone into it, took a look at the plugin and it worked, then kicked the other guy and disbanded it, but after i reloaded the server I had the test tag again, and i had to disband the team again, but right after the relog the other guy who i previously added to the team wasn't able to talk and only a relog would fix it.

    I hope you can fix it :D
     
  10. Offline

    Vedish

    For Some Reason i installed this plugin but when i start my server i cant use Global Chat
     
  11. Offline

    tremor

    Anything's possible :cool: - Unless there is an inherent design in bukkit that prevents that from happening, I'm not a Java developer so I wouldn't have the slightest. It's not a big deal though... Maybe you could talk to someone @ Essentials about resolving the plugin conflict.. upon further review it goes deeper that just the /t alias.

    Perhaps you could hook a pre-existing /lastseen plugin - but ultimately it would be something you'd want in a member data table. Not trying to tell you how to code your plugin here... just making suggestions you've probably already thought of, but do you plan to incorporate perhaps a SQLite or MySQL Clan Table?

    As a PHP developer I always love to see the MySQL hookup, because I can write website hooks into it, and display things like the top clans, leaders and stuff on the server website.

    If you want me to shut up please say so, I'm just very excited about your plugin and it's potential.

    There may be some plugin conflicts.. if you want more help from Satros perhaps you should explain your situation more by posting your CB Version, a list of the Plugins (w/ versions) that you run on your server and any error messages from your servers log files that may be occurring..

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  12. Offline

    LSky

    I'm using that version of permissions, the /team list command works for example. I also have EssentialsChat on my server, but would that cause problems when creating teams?
     
  13. Offline

    baffu

    Last edited by a moderator: May 16, 2016
  14. Offline

    Satros

    I tested 1.6 with the new bukkit versions and it worked just fine for me, it sounds like you may have a conflicting plugin. Do you use any plugins that modify chat? Also try setting in config use-chat-tags: false and see if you get the same error.

    Here is an updated experimental build with the latest bukkit version. Although it may not make a difference.
    Clans 1.6.5 Experimental
    (Note it uses a different config file and team format, if you have an existing team file rename it Teams.dat)

    Yeah that is just a bug that happens sometimes when there is only 1 team and it gets disbanded. I fixed it in the 1.6.5 experimental version above.

    See the first post, it may conflict with plugins that override chat. Also plugins that have /team or /t commands.
    Try setting use-chat-tags to false the config file. If that doesn't work then the plugin you are using is most likely using /t or /team.

    Hmm essentials chat should only affect the /t command. It is odd that you cannot use /team create but you can use /team list. Did you try running ONLY Clans and seeing if it worked correctly?

    The problem is that each jar has to have a plugin.yml file that lists all the plugin's commands for bukkit to recognize it, if that wasn't necessary it would be easy for me to just say if essentials is found, use /tc instead or something like that.


    Nah you don't have to shut up, I'm always happy to hear people excited about my work and hear their feedback.

    The idea has definitely crossed my mind, unfortunately I'm still a noob in a lot of areas so decided to start off small and work my way up. This plugin has been and is mainly a learning project for me. I plan on expanding my knowledge by using this plugin as a way to get some practical experience and application using various technologies. First I just wanted to see if I could apply my programming knowledge well and work with an unfamiliar API, so far so good. I still need to learn more about MySQL or SQLite before I incorporate it but it will definitely be included in the future, especially since it gives me good way to apply what I learn. Same with github, I'm unfamiliar with it at the moment but definitely would like to learn and apply it's usage with this project.


    ==

    Unrelated: Development is going well, I have sort of revamped the config file to be easier to understand. I also added more config variables such as ones for team tags (left or right and length). The help command is done and working perfect. I have integrated iConomy but I still need to test it (as I have never really used iConomy before). It should work correctly. The teamkill/friendlyfire options are set up but I am still working on it. There are also various other minor improvements.

    If all goes well 1.7 should be out in a day or so.

    If any one would like to help test (specifically people who are familiar with iConomy, also remember to set use-iconomy to true in the config) you can download an experimental test build here:
    Clans 1.6.5 Experimental
     
  15. Offline

    Pencil


    Awesome! :D Well i had iChat installed, but it doesn't work so i removed it. Now the only plugins I have installed aren't chat related at all :D Well I'll give that 1.6.5 a try and tell you if it works :) Thanks for the fast reply :D

    @Satros

    Alright, I just tested the new Version. It seems to work a little better than before. I really love how I can change the tag to the left side and the disbanding works aswell, tho once I reload the server, everyone with a team can still talk fine, while people not in a team can't. A relog fixes it.

    Throws this error:

    Code:
    21:57:17 [SEVERE] Could not pass event PLAYER_CHAT to Clans
    java.lang.NullPointerException
            at com.bukkit.Satros.Clans.ClansPlayerListener.onPlayerChat(ClansPlayerListener.java:34)
            at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:278)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:689)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
            at net.minecraft.serve.ThreadServerApplication.run(SourceFile:422)
    
    
    This is with 818, Im gonna try with the latest build in a minute :)

    Also any chance you could add a config so it only colors the Tag and not the "[]" ?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  16. Offline

    Korlinni

    I'm running it with iConomy and I have it set as true. It gives me back that Creating a team costs 50 of item 41. Which I want to just be 50 coins. So it seems to me that it's not making it go for iConomy, and just going back to the item method.

    setting the clan tag color and clan tag doesn't give you a response back. That would be a nice thing to add in.
     
  17. Offline

    Satros

    hmm that must mean that it isn't hooking with iConomy right then, I guess I need to fix that up, thanks though.

    Yeah I realized that when I was working on it today, guess i'll add that in as well
     
  18. Offline

    BioRage

    Dear Satros,

    I need one big favor, please make this compatible with HeroChat!

    I figured out my reason why HeroChat channels weren't working when I read @Pencil iChat problem.

    Thanks bud.

    Are you doing /reload? If you are, don't. /reload tends to make a lot of plugin's break!
     
  19. Offline

    tremor

    1.6.5 is working good for me on 818 - still trying to figure out a way to use additional chat plugins like essentials chat along with this. All I am really looking for it to pull the permissions/group manager Prefix info into the chat. If your plugin did this in kind I wouldn't even need a separate chat plugin to work with it. Basically the prefix distinguishes user level on the server.. white for default, green for vip, red for moderators.. etc.

    If you were to add this functionality into clans then I would have no problem leaving my chat plugin disabled.
     
  20. Offline

    Pencil

    Lol are you kidding? :confused: that's the first time I heard that besides on my main server I use about 40 plugin and reload works just fine :p reload is a must tho as I can't restart the server every 10 mins to apply a change :/
     
  21. Offline

    Satros

    Hmm the prefixes that are set in permissions or somewhere else?

    There might be a way to fix all the chat problems but i'm not sure, ill have to ask one of the more veteran plugin developers here as of right now im unsure of how to go about it really and not really sure it is possible. If there is a way I can just pass the tag along with the name and then have whatever other chat use it from there then it can be done.

    /reload might be the issue actually, last time I tried using it it broke
     
  22. Offline

    Pencil

    Hmm well, It works for my main server which doesn´t have Clans installed :p Maybe your plugin doesnt shutdown properly... Well the thing is on a reload the same thing happens like sometimes with the could not pass event bla bla to Clans :(
     
  23. Offline

    tremor

    Player prefixes and suffixes in permissions or in my case using Group Manager, you get a setup where your groups have this kind of a setup.

    Code:
      Vip:
        default: false
        permissions: []
        inheritance: default
        info:
          prefix: '&3'
          build: true
          suffix: ''
    In my case i use the prefix to color code the player names of various ranks on the server like VIPs.
     
  24. Offline

    Korlinni

    I think a possibility on what is making the color codes for player names not work is you could have &f after the tag color and it makes the name white? Don't know how you could fix it for different colors per group without supporting a plugin that does it.

    Again, it's just a guess.

    Also, /reload isn't breaking the Clans plugin for me. And i love this plugin.
     
  25. Offline

    LSky

    I can't exactly run the server without certain plugins, since half the world would immediately explode and burn down. I'll give it a try after the weekend though, but I guess it wouldn't really conflict with WorldGuard now, would it?
     
  26. Offline

    BioRage

    Generally speaking it is SAFER to stop the server, and restart it, because sometimes if you do /reload some plugin's do not stop, and it may break some plugins.

    Also, @Satros the plugin does conflict with any chat plugin, including Towny/HeroChat :)

    In anycase keep up the good work, I'll be roaming and waiting for the newest one!
     
  27. Offline

    Pencil

    I know "generally" it is :p But my users already qq enough :p
     
  28. Offline

    tremor

    For essentials users, removing essentialschat.jar from your plugins directory allows clans to work. For this matter it appears that ANY chat plugin will break the Clans Plugin. It probably has something to do with how Clans interfaces with chat.. period. And this is not just /t with essentials chat. I edited my essentials plugin to remove the /t conflict... however using /team info, /team create, etc.. with essentialschat.jar installed, still managed to create problems... how and why I wouldn't know, not being all that great of a programmer in Java myself.

    If there IS a base conflict with chat plugins in general, then we might also assume chat censor plugins might also conflict. Another interesting thing I noticed.. I use CraftIRC to send my chat to an IRC channel. The Clan Tag was not being pushed to CraftIRC when I had it enabled.
     
  29. Offline

    Pencil

    Ok weird, now with the updated version /t message wont show anything, not even on the console
     
  30. Offline

    Satros

    I could probably add this, especially since it already uses permissions, the only problem is if a color is your only prefix (ie you want to change the color of a name) and your tag is on the left side it wont do anything, I suppose I could check though, if the prefix is just a color ill add it to the name, if it there is more than just a color add it as normal to the left.

    No WorldGuard/WorldEdit should work fine with Clans. I use them both on my server.

    /t shouldn't show up in console, but if your in a team it should show up in game
     
  31. Offline

    LSky

    I'll be trying this then, although somthing tells me Clans may need to get some improvement on this side!
     

Share This Page