Setting up a server nomatter how big or small can be a pain to deal with so here are some steps to starting one!
First(Plugins)
A server cannot be complete without plugins. they are the very life-force of bukkit/spigot servers. So you are going to need a few basics to help to get started.
First of all, your going to need to install some plugins.
PEX manages the ability of the players to do things based on permissions. Practically every plugin you use will have permissions that without a Permissions plugin will be useless so lets get into the basics of making a factions server.
Ranks:
Ranks are a necessity to Factions server they are an incentive for the players to play as every time they rank-up they gain new perks that don't harm the server but just enhance the players game-play for instance a simple rank that allows them to change their in-game name or maybe add color to their chat as before in their previous rank they had none the possibilities are endless.
- You will first want to thing of a set of ranks to give players there are a lot of styles your can go for in this example i will take a medieval type of approach.
- To begin thinking about creating groups and permissions with PEX you will need a few commands.
Commands: - /pex group <group_name> create(creates a group) - /pex group <group_name> add <permissions>(adds a permission to a group) - /pex group <group_name> prefix <prefix>(Adds a prefix like " EX:[Novice] " to the front of their name) - /pex group <group_name> suffix <suffix>(this adds ChatColor to the groups chat) - /pex group <group_name> delete(this will delete a group you have made.)
Example:
Lets say we want to make a group called Servant. - /pex group Servant create (this creates group Servant) - /pex group Servant add essentials.afk (this allows the group to /afk ingame) - /pex group Servant prefix "[Servant] " (this makes the group have the prefix [Servant] ChatExample of the prefix: "[Servant] <Player_Name> : <chat>" - /pex group Servant prefix "&7" (this makes the groups chat color gray) - /pex group Servant delete(this would remove the group if you didnt want it anymore) - /pex group Peasant parents set Servant (so what this is doing is stating that all the permissions in the group Servant [ 1 rank Below Peasant ] will carry over to Peasant as well It is highly necessary that you do this in order for the plugin Auto Rank to work and to save you loads of time. - Now that you can create groups, change their prefix's and suffix's and add permissions to them lets begin with another plugin.
When downloading you will receive a .zip file the only jars you will need are the Essentials.jar and the EssentialsSpawn.jar . Essentials is a rather helpful plugin that provides a servers 'Essential' needs, i guess that's why its called Essentials huh, it will give you your basic nickname permissions to your player management commands so lets go through it shall we.
- The Essentials config is a big bunch of everything you need but its not as confusing as you would think. Let's go through some of the necessary changes.
First you will come to these Configuration settings in the config.yml located in the /plugins/essentials folder.
# The character(s) to prefix all nicknames, so that you know they are not true usernames.
nickname-prefix: '~' (Simply remove the ~ as its an unattractive feature in chat.)
# The maximum length allowed in nicknames. The nickname prefix is included in this.
max-nick-length: 15 (Change this to 50 just to be safe it allows longer letters in prefixs for more color to be added in but you don't have to.)
# Note: All items MUST be followed by a quantity!
# All kit names should be lower case, and will be treated as lower in permissions/costs.
# Syntax: - itemID[:DataValue/Durability] Amount [Enchantment:Level].. [itemmeta:value]...
# For Item Meta information visit http://wiki.ess3.net/wiki/Item_Meta
# 'delay' refers to the cooldown between how often you can use each kit, measured in seconds.
# Set delay to -1 for a one time kit.
# For more information, visit http://wiki.ess3.net/wiki/Kits
kits:
tools:
delay: 10
items:
- 272 1
- 273 1
- 274 1
- 275 1 (Essentials has its own kit function useful for giving low/high rated gear to players. this is the base format using id's to detect items the and example of adding names and enchants to the kits would be:
kits:
Novice:
delay(in seconds): 3600 (1 hour) items:
- 272 1(quantity) efficiency:3(enchantname:enchantlevel) name: &f[Novice](Adds a name to the item)
Kits are given permissions when made based on its name so for example this kits permissions would be:
essentials.kits
essentials.kit.novice
In pex the translation - /pex group Novice add essentials.kits - /pex group Novice add essentials.kit.novice
# Color is not an actual sign, it's for enabling using color codes on signs, when the correct permissions are given.
enabledSigns:
#- color
#- balance
#- buy
#- sell
#- trade
#- free
#- disposal
#- warp
#- kit
#- mail
#- enchant
#- gamemode
#- heal
#- info
#- spawnmob
#- repair
#- time
#- weather
(Removing the # allows the effect to be used on signs for example buy and sell signs for Shops etc i recommend removing the # for Color, buy, sell, warp, kit.)
# Set this true to enable permission per warp.
per-warp-permission: false
(This is set to default so players can warp anywhere if there is a /warp set change to true if you want to enable use of warps by permissions for example essentials.warp(needed to warp) essentials.warp.<warp-name> however if you plan on having warps to just the shop and spawn this isn't necessary.)
# You can set a custom join message here, set to "none" to disable.
# You may use color codes, use {USERNAME} the player's name or {PLAYER} for the player's displayname.
custom-join-message: "none"
# You can set a custom quit message here, set to "none" to disable.
# You may use color codes, use {USERNAME} the player's name or {PLAYER} for the player's displayname.
custom-quit-message: "none"
(You can set the join/quit messages in the "" if you would like but its not necessary.)
Thats the basics to essentials the rest is not needed but you can go experiment on your own with the other many options.
World Edit/World Guard!
Afteryou have created a Factions spawn you can use //wand then set 2 positions at one point on the lowest point the the spawn build and one at the highest by left and right clicking then by doing /region define <region Name> this making it protected from player griefing it! Fearing that i may not inform you to the max possibilities of the actual plugins there are 2 good video tutorials on them that i encourage you to watch...
1) World Edit: (A full tutorial on World Edit)
World Edit: (A shortened tutorial on World Edit)
2) World Guard: (A World Guard Tutorial)
World Guard: (A Full[ish] World Guard Tutorial)
Auto Rank:
So this is the basics of the Factions ranking system if will be implementing your pex groups so yes creating the groups and setting the inheritance is necessary (v.v yes i know a lot of work) Anyways!! After you have your PEX mumbo jumbo in order you are going to move to the Auto-Rank Config which is basic after you have learned how to use it.
- When you first load the plugin and go into its folder there are 2 configs, Advanced and Simple, well clearly we aren't going to jump for advanced so lets go with Simple the config should resemble this:
# The format for rank changes is
# rank1: rank2 after 1d 1h 1m
# where rank1 is the player's current rank
# and rank2 is the rank the player will get after the set time
# 1d = 1 day
# 1h = 1 hour
# 1m = 1 minute
guest: member after 1h
member: vip after 5d
So using our Ranks listed way above in the PEX area, we are going to configure this by maybe lets say doubling the time each rank so...
Ranks: Novice, Servant, Peasant, Squire, Guard, Knight, Lord, Baron, King
Novice your base rank to King:
Novice: Servant after 1h
Servant: Peasant after 2h
Peasant: Squire after 4h
Squire: Guard after 8h
Guard: Knight after 16h
Knight: Lord after 2d
Lord: Baron after 4d
Baron: King after 8d
This would be the basic Layout for the config so as it logs your playtime you can type /rankup after the timelimit to reach the next rank and gain your permissions for that rank!
ChatEx:
This is a basic chat managing plugin that only needs a slight change in the config.
enable: false (set this to true)
message-format: '%prefix%player%suffix: %message' (place a space inbetween each variable[%prefix %player %suffix : %message) global-message-format: '&9[%world] %player%suffix: &e%message'
ranged-mode: false
chat-range: 100.0
multi-prefixes: false (change this to true and then save the config) multi-suffixes: false
prepend-player-prefix: false
prepend-player-suffix: false
Congratulations you are all set with your Factions Server! feel free to ask questions concerning the tutorial or troubles with the plugins! Good Luck soon to be server owners!
I run a faction's server and this is a great guide! I would add one part to the plugins, a Combatlogger plugin. Those are key to a successful Faction server and happy PVPERS!
Guide to Setting up a Factions Server.
Setting up a server nomatter how big or small can be a pain to deal with so here are some steps to starting one!
First(Plugins)
A server cannot be complete without plugins. they are the very life-force of bukkit/spigot servers. So you are going to need a few basics to help to get started.
First of all, your going to need to install some plugins.
PermissionsEx: http://dev.bukkit.org/bukkit-plugins/permissionsex/ - This is how you will manage what players can do to help prevent griefing and unwanted behavior.
Essentials: http://dev.bukkit.org/bukkit-plugins/essentials/
- This will give you your basic /kick /ban commands as-well as chat customization.
World Edit: http://dev.bukkit.org/bukkit-plugins/worldedit/
- This will become needed for building as you may plan for a series of shops and a spawn for your players, it also helps protect your builds.
World Guard: http://dev.bukkit.org/bukkit-plugins/worldguard/ - This is basically and Extension of world-edit that allows your to guard your builds so that player don't ruin it.
Factions: http://dev.bukkit.org/bukkit-plugins/factions/
- This plugin is what makes a Factions server work.
Massive-Core: http://dev.bukkit.org/bukkit-plugins/mcore/
- The extension of Factions that is needed for Factions to work.
AutoRank: http://dev.bukkit.org/bukkit-plugins/autorank/
- An incentive to play the game, gives player new permissions and ranks them based on time played.
Vault: http://dev.bukkit.org/bukkit-plugins/vault/
- Vault is a Permissions, Chat, & Economy API needed by most plugins.
ChatEx: http://dev.bukkit.org/bukkit-plugins/chatex/
- ChatEx is a chat plugin that manager the chat format and how the chat looks.
CombatLog: http://dev.bukkit.org/bukkit-plugins/combatlog/
- CombatLog stops a player from logging out when in combat.
Second(Implementing Them)
PermissionsEx:
PEX manages the ability of the players to do things based on permissions. Practically every plugin you use will have permissions that without a Permissions plugin will be useless so lets get into the basics of making a factions server.Ranks:
Ranks are a necessity to Factions server they are an incentive for the players to play as every time they rank-up they gain new perks that don't harm the server but just enhance the players game-play for instance a simple rank that allows them to change their in-game name or maybe add color to their chat as before in their previous rank they had none the possibilities are endless.
- You will first want to thing of a set of ranks to give players there are a lot of styles your can go for in this example i will take a medieval type of approach.
Novice, Servant, Peasant, Squire, Guard, Knight, Lord, Baron, King.
- To begin thinking about creating groups and permissions with PEX you will need a few commands.
Commands:
- /pex group <group_name> create (creates a group)
- /pex group <group_name> add <permissions> (adds a permission to a group)
- /pex group <group_name> prefix <prefix> (Adds a prefix like " EX:[Novice] " to the front of their name)
- /pex group <group_name> suffix <suffix> (this adds ChatColor to the groups chat)
- /pex group <group_name> delete (this will delete a group you have made.)
Example:
Lets say we want to make a group called Servant.
- /pex group Servant create (this creates group Servant)
- /pex group Servant add essentials.afk (this allows the group to /afk ingame)
- /pex group Servant prefix "[Servant] " (this makes the group have the prefix [Servant]
ChatExample of the prefix: "[Servant] <Player_Name> : <chat>"
- /pex group Servant prefix "&7" (this makes the groups chat color gray)
- /pex group Servant delete (this would remove the group if you didnt want it anymore)
- /pex group Peasant parents set Servant (so what this is doing is stating that all the permissions in the group Servant [ 1 rank Below Peasant ] will carry over to Peasant as well It is highly necessary that you do this in order for the plugin Auto Rank to work and to save you loads of time.
- Now that you can create groups, change their prefix's and suffix's and add permissions to them lets begin with another plugin.
- A full list of essentials permissions can be found here : http://wiki.ess3.net/wiki/Command_Reference/Perm
Essentials:
When downloading you will receive a .zip file the only jars you will need are the Essentials.jar and the EssentialsSpawn.jar . Essentials is a rather helpful plugin that provides a servers 'Essential' needs, i guess that's why its called Essentials huh, it will give you your basic nickname permissions to your player management commands so lets go through it shall we.- The Essentials config is a big bunch of everything you need but its not as confusing as you would think. Let's go through some of the necessary changes.
First you will come to these Configuration settings in the config.yml located in the /plugins/essentials folder.
# The character(s) to prefix all nicknames, so that you know they are not true usernames.
World Edit/World Guard!
Afteryou have created a Factions spawn you can use //wand then set 2 positions at one point on the lowest point the the spawn build and one at the highest by left and right clicking then by doing /region define <region Name> this making it protected from player griefing it! Fearing that i may not inform you to the max possibilities of the actual plugins there are 2 good video tutorials on them that i encourage you to watch...1) World Edit: (A full tutorial on World Edit)
World Edit: (A shortened tutorial on World Edit)
2) World Guard: (A World Guard Tutorial)
World Guard: (A Full[ish] World Guard Tutorial)
Auto Rank:
So this is the basics of the Factions ranking system if will be implementing your pex groups so yes creating the groups and setting the inheritance is necessary (v.v yes i know a lot of work) Anyways!! After you have your PEX mumbo jumbo in order you are going to move to the Auto-Rank Config which is basic after you have learned how to use it.
- When you first load the plugin and go into its folder there are 2 configs, Advanced and Simple, well clearly we aren't going to jump for advanced so lets go with Simple the config should resemble this:
So using our Ranks listed way above in the PEX area, we are going to configure this by maybe lets say doubling the time each rank so...
Ranks: Novice, Servant, Peasant, Squire, Guard, Knight, Lord, Baron, King
Novice your base rank to King:
Novice: Servant after 1h
Servant: Peasant after 2h
Peasant: Squire after 4h
Squire: Guard after 8h
Guard: Knight after 16h
Knight: Lord after 2d
Lord: Baron after 4d
Baron: King after 8d
This would be the basic Layout for the config so as it logs your playtime you can type /rankup after the timelimit to reach the next rank and gain your permissions for that rank!
ChatEx:
This is a basic chat managing plugin that only needs a slight change in the config.Congratulations you are all set with your Factions Server! feel free to ask questions concerning the tutorial or troubles with the plugins! Good Luck soon to be server owners!
I run a faction's server and this is a great guide! I would add one part to the plugins, a Combatlogger plugin. Those are key to a successful Faction server and happy PVPERS!
-Peach