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.
I am going to ask the impossible now :) 1 Server - 4 cores 4 hard drives raided 2 Bukkit instance's 1 database. i have multiple servers i'm linking ... a simple multi-server clan plugin would be boss.
Thanks, I successfully got your plugin working and would like to note that it works as advertised :) Nice job!
I would like to suggest simplifying the command structure and perhaps providing a shortened version for the commands. Typing out /monarchy each time is painful at best. ex: /mon tpa /mon home /mon pledge Madness
The initial learning curve of the language used makes it difficult for new players to grasp. Most of my players voted it down when i added it to my test server, but only for the complexity of the choice and the cumbersome command structure.
Thumbs up for how well it works tho! not 1 error or exception!
@uamadman:
You'll need to create the database yourself. Generally you can type into your linux commandline.
or install PHPMyAdmin and let it manage your databases from a web interface.
The tables are created by the plugin, on first load the plugin will create it's config file in the Monarchy plugins folder, you'll then have to stop the server, edit the config to include your mysql info in the area given then start the server back up. If MySQL's running on the same server as the game, set the IP to "localhost".
The password field in the config only needs quotes if you have a space in your password.
I'm hesitant to add flat file handing of db info due to the high amounts of db requests Monarchy does. Maybe with proper caching it would be okay. I'll have to think about it more, I mainly write plugins for my own needs and forgo adding stuff that I don't use.
@Dyspen
Do you have a permissions plugin running? I use PermissionsBukkit myself although I may switch to PermissionsEx. Each plugin should have a config file where you add the permission nodes to along with your players/groups.
Hi Cyprias. This plugin has really come far. Very nice!
But, are there any superperms? I cannot figure out how the permission system works.
It's like Asheron's Call in a plugin! I'll have to try it out :p
@Dyspen
My original concept for the plugin was a simple patron/vassal relationship where someone pledged allegiance to someone and that patron would receive XP/loot as a bonus from their vassal and (hopefully) in exchange the patron would assist the vassal with game matters. I didn't consider making it a monarchy style plugin until after I wrote all the patron/XP stuff and submitted it to Bukkit dev.
I'm starting to add monarch/faction features and I'll likely add options for every feature available, just with my preferred settings by default. ie XP/loot passup enabled, grand patron passup enabled, PVP mode disabled.
I haven't decided how I'll go about working in a ranks system yet. It'll be based off follower count and be configurable somehow. I'm thinking of just doing permissions based ranks where if someone's over 5/10/15 followers they receive permissions A/B/C. Then the server admin can decide what permissions those are.
I do want to let monarchs give themselves a tag/title but haven't figured out how that title to be displayed.
This projects only 2 days old, hopefully I don't lose interest before getting these things done. =/
Absolute brilliant plugin. If you are interested, you can add me on skype (PM me) and I will help you develope it, by using it on my server and coming up with ideas. I cannot code myself, though.
Current thoughts: The whole "gets chance of drop" is not something I would use. It would seriously fuck every serious server economy up.
The rank-system would be highly appriciated, though.