SGTitles
SGTitles
This plugin allows for users to have "collections" of titles. Titles can be rewarded for anything you want and can be created at any time using in-game commands. We also support several plugins for direct integration for achievement based title reward. Titles can also automatically be given out based on permission groups.
Award titles for winning a contests, being a veteran on your server, etc. Users can change their title as they wish! Achievement based titles offer something for users to strive for. Group based titles can be used to give your special ranks unique titles! There is no limit to what you can do!
This is my first public plugin release so I hope you enjoy it!
Features
- Users can switch between multiple titles
- Supports prefix and suffix titles separately!
- A title needs to be granted for a user to set it
- Only one prefix and suffix can be active at a time
- Permission group based titles
- Optional color command for users to change their name color
- Permissions for every command! Limit access where you desire
- Integration with several other plugins for achievement based title rewards
Optional Supported Plugins
mcMMO - Servers running McMMO can award titles when a user reaches a certain skill level! Titles can be customized per-skill. For example: 250 archery awards the title "Marksman"
Heroes - Servers running Heroes can have their players rewarded a title when they master a class! You can also configure it to reward the title without mastering the class.
DeathTpPlus - Titles can be rewarded for kill streaks and multi kills. You can customize at what streaks titles are given out!
Spout - Servers running Spout will see a players currently selected title show up over their head!
Installation and Requirements
SGTitles requires Vault
Simply place SGTitles.jar in your plugins folder and start the server! The config.yml will be generated automatically! Visit the configuration page for more information on changing your config.yml.
Configuration
Usage
Read this if you are having issues!
- SGTitles modifies the display name of players. So if you are not seeing a title show up it means that you have another plugin also overwriting player display names. The most common culprit of this is Essentials. (It can be disabled in the essentials config)
Planned Features
This section is also a planned feature ;)
@Saltisgod
I will upload an R6 version tomorrow. As of right now though everything in the latest version on here should be compatible.
Any status update for a 1.2 or a R6 Download.
Sorry for asking.
Thanks
I have no idea what you could mean - the only instance of nicknames in the config would be the prefix of nicknames, and I just removed that and it didn't change anything. Here's config, maybe you see something I don't.
http://pastebin.com/s5eD8RuB
@masterkazoom
It's not EssentialsChat interfering. There is an option at the top of the general essentials config that overwrites display names. I don't think its directly related to the chat part.
@scts: I simply deleted the EssentialsChat.jar, since I don't use any of its features. I didn't fix the problem though. Here's a list of my plugins, maybe you can help me out :X
HeroicDeath EssentialsProtect EssentialsSpawn Essentials Multiverse-Core Multiverse-Portals bPermissions SGTitles
I'll remove any mention of EssentialsChat from the config now, but so far I've no clue why I can't see the titles :(
Surely you can add support for other Prefix/Color plugins... You could simply hook into some API's and have an option to add the Title on the end of the name instead.
Im so happy... I asked for this in my mind and now its here..
Thanks. I cant wait to put this on my new 1.2 server..... when it comes out... still waiting patiently...
@scts
Oh my tab list only changes when using the Heroes plugin feature. Instead of player names, i get the hero classes on the <tab> list
thanks for the quick answer :)
@masterkazoom
If you add titles via the import command you should be able to have spaces in them.
As for essentials, the option you are looking for is something like "override display name" or "change display name." I cant tell you exactly as I don't use essentials but it's somewhere near the top of the config.
Heyho,
I wanted to add a title-based plugin to my server for a while, and in theory your plugins works fine, just 2 little questions if you please:
1. Are the titles supposed to not show up? I disabled the nick command in Essentials as you suggested, or is there some other config I'm overlooking?
2. Is there a way for titles to have a space in them? I tried ' ', " ", and underscores, nothing worked.
@migsthegod
Well my idea was that forcing colors would be able to be overwritten by someone with any color permissions. Also, your tab list shouldn't be changing. At least it doesn't for me.
I think overwriting the prefix system would be better since another downside to using display names is the messed up chat <tab> list. Its better to display real player names rather than their titles. Also, forcing a permission group to a certain might be a problem specially for players who want to be able to change their name color :D Just some ideas but overall nice work with this plugin. The menu looks neat!
@migsthegod
Correct me if I am wrong (or offer an alternative). Even if I were to say, hook into permission chat modifiers (like PEX's prefix and suffix system)... wouldn't that still affect whatever colors you have set for players in there? It would overwrite your current prefixes.
One solution I can think of is having an option that forces a permission group to use a certain color. (Like automatically setting /title color for that group). What do you think?
Very nice!
Although i have same concern with dadaemon.
Instead of using the display name for the titles, is it possible to make it separate? As of now it interferes with colored names
@scts
Nice! The dev version works for me!
I was now wondering if you could add a feature? We want to have different colors for each rank on the server. So everyone has the title "Villager" but we want to have it like this:
Normal player:
[Villager]Name:Message
Admin player:
[Villager]Name:Message
I have worked on another plugin that did the same. It used ranks of colors through permissions. Is this possible with this plugin? Or could you implement such methods?
Thanks :D
@dadaemon
http://dev.sctgaming.com/attachments/download/14/SGTitles-dev.jar Here is a custom build with that change. Let me know how it goes!
Hey there @scts . I've been trying to get the permissions working on my test server but couldn't figure out what's wrong. Then I dug into the code and saw the culprit.
First my config. I'm using Vault with PermissionsBukkit.
In your code is this line: https://github.com/SGCraft/SGTitles/blob/master/src/com/sgcraft/sgtitles/PlayerManager.java#L206
This will always return nothing for me. Check the issue here: https://github.com/MilkBowl/Vault/issues/59
So my question, can you change it so I don't have this problem anymore? So instead of
can you do this?
Then I can further experiment with this potentially good plugin :)
@Maxell93x
You need Vault to run this plugin. You can get it from here: http://dev.bukkit.org/server-mods/vault/
2012-02-23 15:38:39 [INFO] Starting minecraft server version 1.1 2012-02-23 15:38:39 [INFO] Loading properties 2012-02-23 15:38:39 [INFO] Starting Minecraft server on 192.168.0.198:25565 2012-02-23 15:38:39 [INFO] This server is running CraftBukkit version git-Bukkit-1.1-R4-b1938jnks (MC: 1.1) (Implementing API version 1.1-R4) 2012-02-23 15:38:40 [SEVERE] Could not load 'plugins\SGTitles.jar' in folder 'plugins': org.bukkit.plugin.UnknownDependencyException: Vault at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:166) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:164) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:140) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) 2012-02-23 15:38:40 [INFO] MLog clients using java 1.4+ standard logging.
Better?