Работа с плагином Factions

Печать

Рейтинг:  4 / 5

Звезда активнаЗвезда активнаЗвезда активнаЗвезда активнаЗвезда не активна
 

 

 
Содержание
  1. Команды
  2. Oбоз
  3. Cоздание
  4. Followers
  5. Money
  6. Land
  7. Relations
  8. Permissions
  9. Flags
  10. Expansions
  11. Admin

Команды

Полный список команд. Данная документация научит вас использовать все команды плагина.

  • /f базовая команда плагина
  • /f l,list [page=1] список всех кланов
  • /f f,faction [faction=you] отобразить информацию клана
  • /f p,player [player=you] отобразить информацию игрока
  • /f join <faction> [player=you] присоединиться к клану (только после получения приглашения
  • /f leave покинуть клан
  • /f home [faction=you] телепорт в дом клана
  • /f map [on/off=once] показать карту территории клана
  • /f status [page=1] [faction=you] показать информацию членов клана (энергию и последнюю активность)
  • /f create <name> создать клан
  • /f name <new name> [faction=you] переименовать клан
  • /f desc <desc> поменять описание клана
  • /f motd [new=read] создать сообщение для членов клана
  • /f sethome [faction=you] установить дом клана
  • /f unsethome [faction=you] удалить дом клана
  • /f inv,invite <player> [yes/no=toggle] пригласить в клан игрока
  • /f kick <player> выкинуть игрока из клана
  • /f title <player> <title> дать титул члену клана
  • /f promote <player> promote lesser members in your faction
  • /f demote <player> demote lesser members in your faction
  • /f officer <player> дать статус офицера
  • /f leader <player> [faction=you] дать статус лидера
  • /f money управление казной
  • /f money b,balance [faction=you] показать деньги в казне
  • /f money d,deposit <amount> [faction=you] положить деньги в казну
  • /f money w,withdraw <amount> [faction=you] взять деньги из казны
  • /f money ff <amount> <faction> <faction> перевод клан –> клан
  • /f money fp <amount> <faction> <player> перевод клан –> игрок
  • /f money pf <amount> <player> <faction> перевод игрок –> клан
  • /f sc,seechunk [active=toggle] отображение чанков
  • /f sco,seechunkold отображение чанков
  • /f claim приват территории для клана
  • /f claim o,one [faction=you] приват одного чанка
  • /f claim a,auto [faction=you] приват чанков по которым проходите
  • /f claim f,fill [faction=you] приват заполнением
  • /f claim s,square [radius=1] [faction=you] приват квадратом указанного радиуса
  • /f claim c,circle [radius=1] [faction=you] приват кругом указанного радиуса
  • /f claim all <all|map> <faction> <newfaction> приват всей доступных чанков
  • /f unclaim unclaim снять приват
  • /f unclaim o,one снять приват с одного чанка
  • /f unclaim a,auto снять приват с чанков по которым проходите
  • /f unclaim f,fill снять приват заполнением
  • /f unclaim s,square [radius=1] снять приват квадратом с радиусом
  • /f unclaim c,circle [radius=1] снять приват кругом с радиусом
  • /f unclaim all <all|map> <faction> снять приват со всех чанков
  • /f access управление доступом
  • /f access v,view смотреть доступ
  • /f access p,player <player> [yes/no=toggle] разрешить доступ к чанку игроку
  • /f access f,faction <faction> [yes/no=toggle] разрешить доступ к чанку указанному клану
  • /f ally <faction> создать альянс с другим кланом
  • /f truce <faction> объявить мир с другим кланом
  • /f neutral <faction> нейтралитет с другим кланом
  • /f enemy <faction> вражда с другим кланом
  • /f perm set [perm=all] [relation=read] [yes/no=read] управление разрешениями
  • /f flag [faction=you] [flag=all] [yes/no=read] управление флагами
  • /f e,expansions управление дополнениями
  • /f tax управление налогом
  • /f tax i,info посмотреть налог
  • /f tax f,faction [faction=you] посмотреть налог другого клана
  • /f tax p,player [player=you] посмотреть налог игрока
  • /f tax s,set <amount|none> [default|rank|player|all=default] [faction=you] установить налог
  • /f tax run начать сбор налога
  • /f tax v,version отобразить версию дополнения
  • /f dynmap использовать дополнение карты
  • /f dynmap v,version отобразить версию дополнения
  • /f admin [on/off=flip] переключиться в режим админа
  • /f disband [faction=you] распустить клан
  • /f powerboost <p|f|player|faction> <name> <#> set powerboost
  • /f v,version display plugin version

Обзор

Команды члена клана:

  • /f базовая команда
  • /f l,list [page=1] список кланов
  • /f f,faction [faction=you] информация клана
  • /f p,player [player=you] информация игрока
  • /f join <faction> [player=you] присоединиться к клану
  • /f leave покинуть клан
  • /f home [faction=you] телепорт в дом клана
  • /f map [on/off=once] показать территорию
  • /f status [page=1] [faction=you] показать информацию членов клана (энергию и последнюю активность)

Первое что нужно сделать новому игроку... это присоединиться к клану. Использую команду /f l,list [page=1] найдите подходящий вам клан по названию. Что б узнать больше о клане используйте команду /f f,faction [faction=you]. Что б узнать больше о игроке используйте команду /f p,player [player=you].

Далее вы договариваетесь с лидером клана и после того как вас пригласят вы пишете команду /f join <faction> [player=you]. Если вам не понравилось в клане... вы всегда можете его покинуть командой /f leave.

Если у вашего клана есть свой дом, вы можете попасть туда командой /f home. Так же можно попасть домой в кланы альянса /f home <faction>.

Посмотреть карту привата клана можно командой /f map [on/off=once] будет отображена карта привата вокруг вас.

Если не указывать конкретно название клана или имя игрока будет использоваться имя клана в котором вы состоите или ваше имя.

Создание

Команды лидера клана:

  • /f create <name> создать клан
  • /f name <new name> установить имя клана
  • /f desc <desc> создать описание клана
  • /f motd [new=read] создать сообщение для членов клана
  • /f sethome [faction=you] установить дом клана
  • /f unsethome [faction=you] удалить дом клана
  • /f claim приват территории для клана

Вы решились создать свой клан? Команда /f create <name> поможет вам в этом. Позже можно переименовать клан командой /f name <new name>.

Так же не забудьте добавить описание клана командой /f desc <desc> это поможет понять игрокам что ваш клан представляет из себя. Команда /f f,faction [faction=you] покажет информацию по вашему клану (кто из игроков в онлайне, сколько у вашего клана запривачено территории и сколько вы еще можете заприватить).

Командой /f desc motd [new=read] можно создать сообщение членам клана. Этакий вариант новостной ленты клана.

И наконец вы нашли походящее место для мода... Используя ряд команд /f claim вы приватите нужные вам чанки. После нужно установить метку ДОМ командой /f sethome [faction=you]. Если вы вдруг решили что данный дом вам больше не нужен, то командой /f unsethome [faction=you] вы можете удалить его.

Followers

This section covers these commands:

  • /f inv,invite <player> [yes/no=toggle] set if player is invited
  • /f kick <player> kick player from faction
  • /f title <player> <title> set player title
  • /f promote <player> promote lesser members in your faction
  • /f demote <player> demote lesser members in your faction
  • /f officer <player> make player officer
  • /f leader <player> [faction=you] set leader for faction

Now it’s time to get some followers for your faction. Use /f inv,invite <player> [yes/no=toggle] to invite a player to your faction. The same command can be used to revoke invitations.

If a faction follower is misbehaving you can kick them using /f kick <player>. If they are doing great you might want to reward them with a custom title using the /f title <player> <title> command (ampersand color codes work).

There are four different faction ranks. They are **Leader, *Officer, +Member and -Recruit. Use the /f promote <player> and /f demote <player> commands to modify someones rank. There is also the dedicated /f officer <player> command to make someone an officer. There can be many officers but only one leader. Use the /f leader <player> [faction=you] command to resign your leader role and faction ownership to someone else.

The higher your rank is the more permissions you get to manage the faction. For example anyone may deposit money into the faction but only officers and above may withdraw.

Make sure to promote some trusted faction followers to officers. This way the faction can still be managed even if the leader goes on vacation.

Money

This section covers these commands:

  • /f money manage faction money
  • /f money b,balance [faction=you] show faction money
  • /f money d,deposit <amount> [faction=you] deposit to faction
  • /f money w,withdraw <amount> [faction=you] withdraw from faction
  • /f money ff <amount> <faction> <faction> transfer faction –> faction
  • /f money fp <amount> <faction> <player> transfer faction –> player
  • /f money pf <amount> <player> <faction> transfer player –> faction

Each faction has a money account. The money commands can be used to check and transfer money in various ways. Certain actions like renaming the faction or claiming land may cost money. The faction money will be used for this.

Land

This section covers these commands:

  • /f sc,seechunk see the chunk you stand in
  • /f claim claim faction territory
  • /f claim o,one [faction=you] claim a single chunk
  • /f claim a,auto [faction=you] claim as you walk around
  • /f claim f,fill [faction=you] claim by filling
  • /f claim s,square [radius=1] [faction=you] claim by square and radius
  • /f claim c,circle [radius=1] [faction=you] claim by circle and radius
  • /f claim all <all|map> <faction> <newfaction> claim all faction land
  • /f unclaim unclaim faction territory
  • /f unclaim o,one unclaim a single chunk
  • /f unclaim a,auto unclaim as you walk around
  • /f unclaim f,fill unclaim by filling
  • /f unclaim s,square [radius=1] unclaim by square and radius
  • /f unclaim c,circle [radius=1] unclaim by circle and radius
  • /f unclaim all <all|map> <faction> unclaim all faction land
  • /f access manage access
  • /f access v,view view access
  • /f access p,player <player> [yes/no=toggle] grant player access
  • /f access f,faction <faction> [yes/no=toggle] grant faction access

Faction land is claimed chunk-wise. A chunk is 16×16 blocks spanning all the way from bedrock to sky. Use the /f sc,seechunk command to see the chunk you are currently standing in.

A faction can claim as many chunks as it has power. The faction power is the sum of all followers individual power. Each player has 10 power meaning that a faction with 10 followers would have 100 power. A player looses 2 power on death and regains 2 power per hour.

Use the /f claim command to claim chunks for your faction. Use /f claim one to claim the one chunk you stand in. Use /f claim auto to claim by walking around. After you have walked around your base you can use /f claim fill. You can also stand in the middle of the base and claim a 3 radius square using /f claim square 3 or circle using /f claim circle 3.

To unclaim land you use the similar /f unclaim command. For example /f unclaim one or /f unclaim auto or /f unclaim fill or /f unclaim squre 3 or /f unclaim circle 3.

There is also the advanced /f claim all and /f unclaim all commands. You can transfer all land from OldFaction to NewFaction using /f claim all OldFaction NewFaction. Use /f claim map OldFaction NewFaction if you only want to transfer chunks on the current map. Or specify the map name like /f claim MapName OldFaction NewFaction. Likewise you can unclaim all land for YourFaction using /f unclaim all YourFaction or /f unclaim map YourFaction or /f unclaim all MapName YourFaction.

In factions with many followers you may want to hand out private chunks where only certain players can build. This can be done using the /f access commands. Here are some common cases:

  • “My officers should not be able to build in this chunk.”
    This is not possible. Choose your officers wisely.
  • “Only officers and leaders should be able to build in this chunk.”
    Use /f access f yourfaction no to remove build rights for normal faction followers.
  • “Only one certain player should be able to build in this chunk.”
    Use /f access f yourfaction no and then /f access p playername yes.
  • “All allied factions should be able to build but not THIS faction.”
    First consider downgrading that relation to a truce. If that’s not an option you can remove them using /f access f <faction> no.

Relations

This section covers these commands:

  • /f ally <faction> set relation wish to another faction
  • /f truce <faction> set relation wish to another faction
  • /f neutral <faction> set relation wish to another faction
  • /f enemy <faction> set relation wish to another faction

The default relation wish towards another faction is neutral. This wish can be changed using the relation commands. The ally and truce relations need to be mutual to take effect. The enemy relation is however one-sided. If another faction wants to be your enemy you will be enemies whether you want it or not.

Friendly fire is blocked for followers of the same faction as you, factions in truce or factions you are allied to. Additionally you can not hurt neutrals in their own territory. If you want to attack someones faction base you must declare your faction as an enemy to theirs. Damage from enemies is reduced by a certain percentage while inside your own territory.

The difference between ally and truce is that allies are allowed to do about the same things as normal faction members. Allies can build in your territory, open containers etc. For this reason you should use truce instead of ally unless you really really trust the other faction.

Territorial warfare between enemies may be possible unless the server owner disabled it. Kill followers of your enemy faction so they loose power. After a while the faction power will have dropped below the amount of chunks they claimed. When that is the case you can start unclaiming, or even claim, their chunks at the edge of their territory.

Safezone and Warzone faction can be created where the rules are different. Safezones can not be claimed by other factions. PVP is turned off and monsters may not spawn or hurt players there. Warzones however are not safe from PVP and monsters. Further, they can be configured to have friendly fire enabled so that PVP between allies and faction members is possible. These two factions are created by default but additional ones can be created and configured using faction flags (further down in this documentation).

Permissions

This section covers these commands:

  • /f perm set [perm=all] [relation=read] [yes/no=read] change perms

Who is allowed to do what within a faction can be managed by the faction leader using the /f perm command. Anyone can type /f perm show or /f perm show yourfaction to show the permission configuration for yourfaction. Use /f perm show <faction> <perm> to focus on a special permission. For example using /f perm show <faction> build would display the build permission configuration in the faction. Add in the last two arguments to set the permission for a certain relation. For example /f perm set lever truce yes would allow those in truce to use levers within the faction territory.

Name Description Default
Build edit the terrain leader, officer, member
PainBuild edit the terrain but take damage while doing so  
Door use doors leader, officer, member, recruit, ally
Button use stone buttons leader, officer, member, recruit, ally
Lever use levers leader, officer, member, recruit, ally
Container use containers leader, officer, member
Name set name leader
Desc set description leader, officer
Motd set motd leader, officer
Invite invite players leader, officer
Kick kick members leader, officer
Title set titles leader, officer
Home teleport home leader, officer, member, recruit, ally
SetHome set the home leader, officer
Withdraw withdraw money leader
Territory claim or unclaim leader, officer
Access grant territory leader, officer
ClaimNear claim nearby leader, officer, member, recruit, ally
Rel change relations leader, officer
Disband disband the faction leader
Flags manage flags leader
Perms manage permissions leader

Flags

This section covers these commands:

  • /f flag [faction=you] [flag=all] [yes/no=read] manage faction flags

A faction flag is a boolean (yes or no). Any player can display the flags of a faction by using /f flag [factionname]. Some but not all flags can be edited by the faction leader. As an exercise I suggest you run /f flag safezone and /f flag warzone. The flags for these factions is what makes them work in that special way they do.

Name Editable Description Default
Open yes Can the faction be joined without an invite? no
Monsters yes Can monsters spawn in this territory? no
Powerloss no Is power lost on death in this territory? yes
PVP no Can you PVP in territory? yes
FriendlyFire no Can friends hurt eachother in this territory? no
Explosions no Can explosions occur in this territory? yes
OfflineExplosions no Can explosions occur if faction is offline? no
FireSpread no Can fire spread in territory? yes
EnderGrief no Can endermen grief in this territory? no
Permanent no Is the faction immune to deletion? no
Peaceful no Is the faction in truce with everyone? no
InfPower no Does the faction have infinite power? no

Expansions

This section covers these commands:

  • /f e,expansions list expansions
  • /f tax Use FactionsTax
  • /f tax i,info overview tax info
  • /f tax f,faction [faction=you] faction tax info
  • /f tax p,player [player=you] player tax info
  • /f tax s,set <amount|none> [default|rank|player|all=default] [faction=you] set tax
  • /f tax run run taxation task
  • /f tax v,version display plugin version
  • /f dynmap Use FactionsDynmap
  • /f dynmap v,version display plugin version
  • Read all about the FactionsDynmap expansion plugin here.
  • Read all about the FactionsTax expansion plugin here.

Factions is open source and free. You can however support the development by purchasing optional expansion plugins.
Use /f expansions to list the available expansions and see which are installed on the server.

Admin

This section covers these commands:

  • /f admin [on/off=flip] enable adminmode
  • /f disband [faction=you] disband faction
  • /f powerboost <p|f|player|faction> <name> <#> set powerboost
  • /f v,version display plugin version

The most important admin command is /f admin [on/off=flip]. When in admin mode you bypass all restrictions. You can build anywhere, change the faction leader without being leader yourself, claim and unclaim anywhere etc.

The /f disband [faction=you] command can be used to forcefully disband/delete a faction.
The /f powerboost command can be used to grant extra power to a certain faction or player.
The /f v,version command can be used to check what version the plugin is.