Reign Of Kings

Reign Of Kings

Not enough ratings
Server-Side Modding
By Tag
In this guide you will learn how to use the built-in server-side modding. With server-side modding you can configure values to change how the game plays. There are endless combinations of values so you can customize your server exactly how you want.
   
Award
Favorite
Favorited
Unfavorite
What is Modding?
Server-side modding allows you to change how the game plays by changing a config value in the Mods/ folder. When you change a value on the server, the player will then see the changes when they play the game. For example, when you change the player's max inventory size on the server, new players will get that size of inventory when they play the game. However keep in mind that if you use an old save, some mods may be overidden by that save.
How do I Mod my Server?
Modding your server is as easy as copying what you want to change from one file into another, then changing those values and starting your server again.
  1. Start your server at least twice to make sure the Mods/ folder is created in the server files.
  2. Open the defaults and the file that matches in a text editor. (EX: Players.cfg and Players.defaults.cfg)
  3. Search through the defaults config (EX: Player.defaults.cfg) and copy the entire line of any values you want to change to the non-default file. (EX: Players.cfg)
  4. Start or restart your server to see the mods take effect.
What can be Modded?
  • Block Tinting
    • Change the tint of blocks.
  • Blueprints
    • Crafting
      • The amount of items that are crafted at a time. (10 arrows per craft)
      • How long the crafting time is.
      • Whether or not items are allowed to be crafted.
      • The required resources to craft something.
    • Armor
      • Armor damage reduction.
      • Armor speed penalties.
      • Armor recoil reduction.
    • Blocks
      • Whether or not a block is damaged by weapons or only siege.
      • Whether or not a block is salvageable.
      • The percent to return from salvaging each block type.
      • How much extra salvage damage is done to each block type.
    • AI
      • The range in which each animal can hear you.
      • The range in which each animal can see you.
      • The viewing angle of each animal.
      • How long before an enemy stops following you.
      • The range before an enemy stops following you.
      • The max speed of an animal at different states. (Exhausted, Attacking, Fleeing, Wander)
    • Maximum health for place-able objects, blocks, animals.
    • Whether or not a place-able object, block or animal is invincible.
    • Inventory max slots for chests.
    • What items you start with when starting on the beach.
    • Whether or not something can be placed. (Animals and the Explosive Keg are disabled by default)
    • How long the setup & collect time for traps and the trebuchet is.
    • The damage and spread of projectile weapons.
  • Buff Effects
    • The duration of buffs.
    • Whether or not a buff shows in the UI.
    • If a buff can be stacked.
  • Character Creation
    • The minimum and maximum values in the character customization screen.
  • Environment (Weather & Day-Night)
    • The color of fog, the sun and the moon.
    • The speed of a day-night cycle.
    • How often it should be cloudy, raining or clear.
  • Fishing
    • Bait attractiveness per fish type.
    • How many fish spawn in a school.
    • How fast you can reel in the fish line.
    • How fast the hook sinks.
  • Farming
    • The chance and how much each crop type can yield.
    • The chance and how many seeds the crop will give back.
    • How much faster a each crop type will grow when watered.
  • Loot Tables
    • Everything that contains loot can have it's drops customized. You can customize the chance the item will drop, the min and the max amount it will drop.
  • Players
    • The max health of the head, torso and legs can be modified individually.
    • The max inventory slot size.
    • The speed and stability of the player movement.
    • The fall damage modifiers.
  • Social (Crest & Security & Guild)
    • How long it takes to conquer land using a crest.
    • How long your land is protected from decay per piece of wood used as fuel.
    • How long an area will be considered "under siege" when damaged by siege.
    • How long wood, stone, and iron totems protect your land for individually.
    • Turn off security for doors, cages, or anything that has a lock.
49 Comments
MrNiceGuy 21 Jul, 2020 @ 4:39pm 
I cant get mods to save they reset default Say I wana make iron x2 so its .05 an I chnage itto 0.15 save, an restart, but after that it dont change an it resets back
MeltingGiant 9 Jan, 2019 @ 7:44pm 
each time i edit the values and run the server it says cannot find bean seed and gatehatch or some stuff like that please help
elmo 8 Jan, 2019 @ 11:25am 
@tagette don't worry, thanks for the reply, but the options are more linked to client, shame there is no client mods would give more options on cosmetic items. thanks for your guide, I like playing localhost(127.0.0.1) single player. :steamhappy:
Tag  [author] 8 Jan, 2019 @ 9:55am 
@elmo
I am not familiiar with what you call AllowRemoveUnder, can you explain that further? I don't see any way to change the character customization colors.
Tag  [author] 8 Jan, 2019 @ 9:51am 
@Genius Play Unique
I believe the SpreadModifier is used to determine how accurate the projectile will be when fired. It is a modifier so it will take whatever the actual spread value is and multiply it by the modifier. So a modifier of 1 will not change the spread from the normal value. 2 will make the spread twice as large.
elmo 28 Dec, 2018 @ 11:21am 
is there at all an option to use the AllowRemoveUnder.... in any of the configs or even ability to change start cloths colors in creation screen?
Genius Play Unique 16 Dec, 2018 @ 9:02am 
What effect does "spread of projectile" have and how does it change if you in- or decrease it?
Genius Play Unique 13 Dec, 2018 @ 3:41am 
Ok, thank you anyway.
Tag  [author] 12 Dec, 2018 @ 4:02pm 
I don't see a mod for that sorry.
Genius Play Unique 12 Dec, 2018 @ 9:01am 
Is there any way to modify the size of the Crest-Areas (the area that Crests conquer by default)?