Factions

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

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

5/5, 24 likes
  1. I had equipment given on faction selection but it didn't prevent the player from removing it, so I axed it. If there is a way to lock the slot with a "shirt" I could implement it but it sounds pretty difficult and for marginal value. Though I always felt it would be nice to have!

    Would you want it given once or on every respawn?
     
    Last edited by a moderator: May 26, 2016
  2. Absolut updated Factions with a new update entry:

    1.3

     
  3. Absolut updated Factions with a new update entry:

    1.3

     
  4. Hello, how can I make this not force players to join a faction at first log? If no one chooses then they are default players. In the .cs file I set "UseFactions = true;" to false. With this false it no longer pops up on join but the faction friendly fire and building protection will not work. I would like to give players a choice after they have joined. Thanks man it's awesome!
     
  5. Have them join rebels. At anytime they can then move to a faction by typing /faction (which brings up the GUI).

    The Rebels were designed as a "catch" for players not interested in joining a faction or unsure which to join.

    So have them join the Rebels, then type /flist to see everyone and find their friends. Finally, /faction to select the faction they want.

    I need to make a help in game, this plugin has grown a lot and I take for granted the functionality. I'll look to fix the help soon.
     
  6. jump this error when i update it :S

    Error:
    [Oxide] 09:40 [Error] Failed to call hook 'OnLootEntity' on plugin 'Factions v1.3.0' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 09:40 [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.OnLootEntity (.BasePlayer player, System.Object lootable) [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 (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
     
  7. Did you unload and load it? Just to be sure. I saw that error once but haven't seen it since.
     
  8. yes i reload it. and permanently spam this error.
     
  9. I'm looking into it!

    Did you by chance update your Config to the new version? If you are missing the Use_Taxes definition I believe it will throw an NRE.

    I'll keep poking around to be sure.
     
  10. Absolut updated Factions with a new update entry:

    1.4

     
  11. Yeah on every respawn would be great is there a way you can make a custom spawn for each faction?
     
  12. Sure thing. I'll work out the code but please know that it will override anything. So if you make a sleeping bag and select the sleeping bag it will still send you to the spawn point. That is the only way I know how to do it at the moment.
     
  13. making them not spawn to their sleeping bag would be awesome i want to make it so the 3 teams spawn at their each base every time type of thing.
     
  14. You are an absolute legend, i had no idea you would work on and implement them ideas so quick. I am uploading this to my server as we speak
     
  15. I implemented this and it is actually pretty simple.

    /faction spawn sets a spawn point for the faction. You must be the leader to set it. On leader change the spawn is set back to nothing. If you wouldn't mind testing it for me, I can release it for everyone later tonight. As usual, config option for spawns on or off. PM me, and Ill give you a copy to test.
    [DOUBLEPOST=1464400953][/DOUBLEPOST]
    I hope you like it! There is much more room to grow but I am pretty happy where this has gone in the last week.
     
  16. Fix please spam errors
    - if there are changed values
     
  17. people who getting online are complete unassigned-. and have white color in chat with " </color>" behind their names... Better they would get in rebels...
     
  18. first off, this is a fantastic plugin and a brilliant idea! can you add so you can see who is the leader and how much play time in the faction each player have on the "/faction list"?
     
  19. Yup! I have a release coming soon that will add Faction Spawn Points as well as Rally Spawns.

    I'll throw this in at the same time.
     
  20. And people who hasnt join a faction it shows " PLAYER is in your faction" so you cannot hurt him, but he can hurt you.....