Factions

A Faction system with Leaders, Taxes, Trades, Ranks, Kill Rewards, and MORE!

Total Downloads: 2,749 - First Release: May 20, 2016 - Last Update: Oct 27, 2017

5/5, 24 likes
  1. I am sending you this newest version to test. There is some other functionality so read it carefully before loading.

    Thanks for your help!
     
  2. Really loving this plugin Altimus! I have a few suggestions for future updates.

    Ability for players to Leave a faction and Rejoin another.

    Ability to set the maximum amount of players that can be in a faction.

    Ability for Server admin to Set Faction Spawns, and ability to disable leaders of faction ability to set spawns.

    Ability to give Players of a Faction who gather a lot and get taxed to receive a configurable amount of economic points per item transferred to a leaders tax box. Like say you get 100 Points per 1000 wood transfered, 200 points per 1000 stone, 300 points per 1000 sulfur ore, etc... ( <<< Not Balanced But You Get the Idea) . Call it tax refund or something.

    Ability For faction Leaders to create control points, also ability to promote players that have permission to create control points. Control points can integrate great with ZoneDomes and Zone Manager. When you type "/faction control name" Zone manager should automatically create configurable sized zone with the name, welcome message, and leave message. (Configurable in in the config file.) ZoneDomes would be nice with a little modification. Instead of grey, you could have it set to the same color that the faction color is.

    Ability for Faction Leader to Declare War on another Faction Leader. This will be announced in chat on both sides of the faction, and will be reannouncesd every so often until the war is over. When the war starts, players from each side of a faction's goal is to take out the other faction's control point. When a faction destroys all of the other factions control points the war ends and the winners get rewarded with economy points. Or possibly when a timer runs out all damage on control points gets tallied and the faction with the most damage on control points wins.

    Just some suggestions... Thanks for all your great work :)
     
  3. I love suggestions so thank you for making them! Let me hit these one at a time:

    Ability to Leave: This should be very simple. I can make a /faction quit or /faction leave command with a config option to enable/disable functionality.

    Ability to set max players: I just finished a "differential" check for faction joining. I know this isnt a "limit" but it could work the same way. If you set the differential limit to (2) and say Faction A has 5 Faction B has 6 and Faction C has 2 .. no one can join anything but C until they are within 2 of the lowest which in this example is C. If 5 joined C then someone would be unable to join C until A gets 1 more... terrible explanation.

    Tax Refund: This is an interesting concept and I like it. I need to think about how I would want to do it.

    Control Points: I like the concept; let me see what I can come up with. It could be very challenging as I am unsure if you allow a "player" to create a zone through a chat command if it will require permissions or not. (This may not make sense, wording is crappy).

    War: I have been wanting to add some sort of rank system that integrates with war. I figured a certain rank could create/remove rally spawns instead of just leaders. I think this all lines up. The objective and reward for a war is what is still challenging to decide. Obviously if there can be control points that could help.

    All in all, good stuff we just need to work to define it more clearly. Feel free to PM me.

    Thanks for taking the time!
     
  4. Thanks for you job dude, you making an awesome work here !

    Just a little question, i test the plugins on my server and when i use the challenge mode to try the possibility of taking power over a leader, the leader doesn't change when i kill him in time.

    Is it a effect due to the Factionbyadmin true mode ?

    Thanks for all
     
  5. Thank you for the feedback!

    A couple things.

    First, yes if you have Use_FactionLeadersByAdmin set to true it does not ever check for a new leader (as that check is based on Playtime). I am considering making it so the killer becomes the leader in this scenario but I am not sure if that is what people want...

    Second, I have found some annoying "time" issues that would make the leader change not work properly (if Use_FactionLeadersByAdmin is false). I have implemented fixes that look to be working from my testing.

    I am currently implementing a rank system that gives players benefits (such as additional damage, or speed increase, or wood chopping bonus). I am also adding a "kill" leader bonus by faction so the faction with the most kills will get an incentive bonus. Finally, I am adding a building count bonus.. so being the faction with the most structures will give the entire faction a bonus...

    Once these are done, I am putting in a new release that will fix the time issue along with some other annoying things I have found.
     
  6. Great work! I'm really excited to use this mod. I just had a couple concerns I wanted to mention.

    I'm not crazy about the idea of receiving a bonus for the faction for having the most buildings. People will just litter the map with structures to obtain this bonus.

    I also think some time limit should be implemented on challenging the leader. No leader wants to deal with being challenged every 15 minutes.

    Also what do you think of admins having the ability to create spawn points? I think this would be a useful feature.

    Just some ideas!

    Thanks for all your hard work!
     
  7. Everything added comes with the ability to turn it on and off.

    As per building counts it is based on proximity to Leader Tool Cupboards. So I am counting all structures built within a radius of the Leader TCs and if they match the same faction it goes towards the count. This request goes back to the beginning when people wanted to promote "building together" or "near the leader". I am also adding a count of all structures built by the player and all structures built by the player near the leader TC. I will use these counts to do a calculation of percentage. If the percentage is over a configurable threshold it can also provide a bonus. This system may encourage building all over the map but it will require a Leader TC and isn't that the whole point?

    Agreed on the challenge. The version you have kills the challenge on login/logout of the challenger whereas in the new version I will be releasing this data is saved permanently. Given I am now saving the data, I can set a timer which will have a "limit" configuration for preventing challenges for "x" amount of time once it ends. I would also like to add a clock on the challenge; maybe 24 hours?

    I am also changing faction spawns to Admin or Leader; not both.

    Thank you for the feedback!
     
  8. Anyone willing to test the newest version? It adds Trade Skills and Ranks (based on kills).

    It also includes a completely overhauled data system (only 2 data files) as well as some reworked logic for how everything works.

    Send me a PM, I can describe the changes in more detail.

    Thanks!
     
  9. Hello, Great work here!
    I just uploaded the plug-in (only plugin on server) and enabled "Use_FactionWeapons": true,
    When I spawn in I only receive the .556 ammo and arrows, but no weapons.
    Am I missing something?
     
  10. For anyone that reads this... Fix for this coming in next version.
     
  11. You can add support for LustyMap?
    So nobody will confuse an ally with an enemy.

    (Sorry my bad English is not my native language.)
     
  12. That will require LustyMap to update the plugin. LustyMap would need to call "GetPlayerFactionEx" and make "friends" for each that match. I am doing this on a personal modified copy. If enough people request it I am sure Kayzor will update it.
     
  13. New release coming very soon. Anyone interested in seeing/testing it can join my server... named: Absolut Rust - Running FACTIONS - Trade Skills, Ranks, Scoreboard, Kill Ticker, and MORE! IP : 108.61.235.123:28016
     
  14. (03:02:03) | [Oxide] 00:32 [Error] Failed to call hook 'cmdfaction' on plugin 'Factions v1.7.0' (KeyNotFoundException: The given key was not present in the dictionary.)

    (03:02:03) | [Oxide] 00:32 [Debug] at System.Collections.Generic.Dictionary`2[System.UInt64,Oxide.Plugins.Factions+FactionPlayerData].get_Item (UInt64 key) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.Factions.cmdfaction (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.Factions.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  15. Absolut updated Factions with a new update entry:

    2.0

     
  16. I am trying very hard to include everything in the Description but it is so much stuff. If you are confused about something post it here and I will update that in the Description to make it clearer for the next person! Thanks!
     
  17. (14:22:27) | [Oxide] 11:53 [Error] Factions plugin failed to compile!

    (14:22:27) | [Oxide] 11:53 [Error] Factions.cs(1515,1): error CS1525: Unexpected symbol `end-of-file'

    (14:22:27) | [Oxide] 11:53 [Error] Unable to load Factions. Factions.cs(1515,1): error CS1525: Unexpected symbol `end-of-file'

    (14:22:27) | [Oxide] 11:53 [Info] Previous version of plugin failed to load: Factions
     
  18. Did you modify the plugin file?
     
  19. no, just delete the old cs file and load new version and get this error
     
  20. Did you delete the old config?