Monarchy
Synopsis
Monarchy features a unique allegiance and fealty system that creates formal links between players. In this system, a vassal swears allegiance to a patron. The patron then acts as a protector, item giver, knowledge guide and general leader. The reward for being a patron is a percentage of bonus experience based on what the vassal makes. Patrons can have unlimited vassals while vassals can only have one patron. In this structure, the top player in the pyramid is considered the monarch and can make decisions for their monarchy.
Current functionality
- Players (vassal) can pledge their alliance to another player (patron).
- Ability to passup bonus XP to patrons (and grand patrons)
- Each player has a leadership and loyalty skill (percentage). The amount of XP passed up is determined by (patron_leadership% +vassal_loyalty%)/2
- Players can increase their leadership/loyalty skills by spending XP. Each skill point becoming increasingly more expensive.
- Players without patrons are considered monarchs regardless of how many followers they have.
- Ability for monarchs to declare stances (allied, neutral, hostile, ect) on other players, followers are then given that stance towards those players.
- Ability to block PvP attacks between players based on monarchy stances.
- Ability to teleport to monarch/patron/vassal/followers.
- Notifications for both monarchies when players are killed.
- When declaring a stance on someone, you'll be told if they have a monarch and your current stance to that monarch.
- Ability for administrator to grant ranks based on follower count.
- Ability for administrator to grant permissions based on ranks.
- Ability to set home points and permit who can recall to your home. (monarch/patron/vassal/follower/allied/friendly)
- Ability to claim provinces (chunks) allowing owners to select who's able to modify your province, (default patron&vassal)
- Claiming provinces cost experience points, configurable in config file.
- Ability to charge a rent fee per province owned.
- Ability to transfer ownership of provinces to other people.
Requirements
- MySQL is required for Monarchy to function, your login info can be inputted into the config.yml file.
- A permissions plugin.
Other info
- Monarchy is looking for translators, translations can be added here.
- Source code is available here.
Bitcoin donate.
@dylpickles1997
What do you mean this is empty anyway?
I see you're using separate databases, I assume you've already created them before loading the plugins?
mysql: port: 3306 username: root hostname: localhost password: '' (this is empty anyway) database: monarchy
stock market:
mysql: ip: localhost port: 3306 username: root password: '' database: sm
@dylpickles1997
Well, if the login info in Monarchy's config matches the info in StockMarket's config, I'm not sure what the issue could be. Can you post your Monarchy config here (minus the password).
@Cyprias
Yes the plugin stockmarket works. I am using a panel:XAMPP
I've also tried freemysql.net. Having trouble with that too.
@dylpickles1997
Are you using a linux or windows server? do you have access to the OS commandline or just a panel?
Do any of your other plugins connect to mysql properly?
@Cyprias
How would one go about doing that..? I am running a localhost mysql, and I enter those settings but I can't connect to it with just Monarchy.
@dylpickles1997
Are you able to connect to mysql via command line?
Am I the only one who can't connect to mysql?
Could you please tell me how should i use this in a server?
@Master_Zangetsu
Are there any messages at startup? Does /plugins show it's running?
im getting no response from the plugin at all
no error messages on command, no perms warnings, nothing.
Bug Fixed! Thanks for the fast response. -mad
Next step is Tags and Names :) [MC]uamadman - King of the Minecraftion Monarchy
+1 for this plugin
:(
Drop Box?
@uamadman
I posted it an hour ago, takes the bukkit mods like 12 hours to approve all my uploads.
Excellent ill try it as soon as you post it up. ill be on for the next 2 hours xD
@uamadman
I think I found the pledging issue, it's fixed in v1.17.0 .
The 2nd error has something to do with how I format messages from the language file. Delete the enUS.yml file and restart the server. That'll recreate the file with the default english strings.
When players on my server try to /patron pledge and the monarch types /monarchy accept they get a response saying "Thisperson
-> You cannot pledge allegiane to uamadman, they're your follower."But i am not their follower :)
Mad
btw thx for the shorthand commands
EDIT: i did /follower check fastdyingllama <
player on server and got this exception Cheers Mad2012-06-01 00:05:07 [SEVERE] java.util.MissingFormatArgumentException: Format specifier 's' 2012-06-01 00:05:07 [SEVERE] at java.util.Formatter.format(Unknown Source) 2012-06-01 00:05:07 [SEVERE] at java.util.Formatter.format(Unknown Source) 2012-06-01 00:05:07 [SEVERE] at java.lang.String.format(Unknown Source) 2012-06-01 00:05:07 [SEVERE] at com.cyprias.monarchy.Localization.F(Localization.java:67) 2012-06-01 00:05:07 [SEVERE] at com.cyprias.monarchy.commands.Commands.F(Commands.java:55) 2012-06-01 00:05:07 [SEVERE] at com.cyprias.monarchy.commands.CommandFollower.onCommand(CommandFollower.java:144) 2012-06-01 00:05:07 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) 2012-06-01 00:05:07 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) 2012-06-01 00:05:07 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479) 2012-06-01 00:05:07 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) 2012-06-01 00:05:07 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) 2012-06-01 00:05:07 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) 2012-06-01 00:05:07 [SEVERE] at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:141) 2012-06-01 00:05:07 [SEVERE] at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) 2012-06-01 00:05:07 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) 2012-06-01 00:05:07 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) 2012-06-01 00:05:07 [SEVERE] at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:83) 2012-06-01 00:05:07 [SEVERE] at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) 2012-06-01 00:05:07 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) 2012-06-01 00:05:07 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) 2012-06-01 00:05:07 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 2012-06-01 00:05:07 [INFO] [37;1m[[33;1mMonarchy[37;1m] [33;1muamadman->[37;1m[37;1m%s[37m is your follower: [37;1m%s[37m[m
@Dyspen
Go into the config.yml and disable useProvinceProtection and chargeProvinceRent. Also don't give users any province permission nodes.
edit: sure, send me the IP, I'll take a look.
I am currently testing your plugin on my server, which runs a special prison theme. Your plugin is quite good in this aspect, however it lacks some features and tweaks to be perfect. If you want, you can see my server - which is still work in progress - and maybe get some ideas about how to further develop your plugin.
One thing I do not need at all is provinces. Players do not own anything and are not supposed to. Therefore; could I reguest the possibility to totally turn off the feature. Problem is, that players get notices about province fees etc, although it has no relevance for them. It just adds to confusion.
Thank you.
@uamadman
There's aliases for most of the commands. They're in the aliases.yml file.
stance: "monarchy stance"
declare: "monarchy declare"
expunge: "monarchy expunge"
rank: "monarchy rank"
home: "monarchy home"
sethome: "monarchy sethome"
permithome: "monarchy permithome"
leadership: "monarchy leadership"
loyalty: "monarchy loyalty"
accept: "monarchy accept"
followers: "follower followers"
chunk: "province"
exp: "monarchy exp"
rent: "province rent"
claim: "province claim"
check: "province check"
Some might be missing from your aliases.yml file, if so just open it and add them, be sure to use quotes if there's a space in the final command.
I intend to add a more generalized tp/tphere command. So you'll type the target's name and the plugin figures out if you have permission then sends the request to the target.
I'm glad to here there's no errors.
A multi server clan plugin would be interesting. I have no plans to make Monarchy one unfortunately.