Better Faction v1.1.18
Better Faction v1.1.18
AD
Better Faction is an add-on (script) for pvp faction server, it include some custom command in chat and allow to add home, warp, create faction and more, create custom display, private chat group, translated in different language. The pack Need to have API BETA Experimental feature checked. (keep in mind it’s in development) have fun.
The mod work on xbox, ps4, w10 and pocket edition.
+help
ADVERSITE
command List :
do /tag @s add Admin
tips : when you need to enter a playerName use @
ADMIN COMMAND
Setting command : Alias : sethl, sethomelimit
+sethomelimit <number>
define the default home limit a player have when he join the map for the first time
+sethomelimit <playerName> <number>
define the home limit of a specific player
Alias : setml, setmemberlimit
+setmemberlimit <number>
define the default member limit a faction have when it will be created
+setmemberlimit <factionName> <number>
define the member limit of a specific faction.
Alias : setscm, setscmoney, setscoremoney
+setscoremoney <ScoreName>
define the default money scoreboard (synchronise btw script and scoreboard)
Alias : setpf, setprefix
+setprefix <prefix>
define the default prefix when you use command with the mod (NEVER ENTER a “/” !!!)
Alias : setcn, setcustomname
+setsn
switch btw on and off the custom name feature (Warning : with custom name you can’t do command like always, here an example : /tag “mister art43” add Admin for example if i create a faction named “fac” so my name will change and the valid command would be /tag “§6-Fac- §rmister art43” add Admin
Alias : setfh, setfhome, setfactionhome
+setfh +setfh <factionName>
define if the faction are able to use faction home (default on false).
Alias : settpadelay, settd
+settd <number>
edit the delay before a tpa request expired (in second) (default on 60 seconds)
Player Command
Alias : sethome, sh
+sethome <homeName>
set a new home point at your current position (work in different dimension)
Alias : home, h
+home <homeName>
teleport to your home
Alias : delhome, dh
+delhome <homeName>
remove a home you have
Alias : listhome, homelist, lh
+listhome
list all home you have
Alias : pay
+pay
launch the pay ui
+pay <playerName>
send money to another player
Alias : balance, bank
+bank
show how many money you have.
Alias : tpa
+tpa <playerName>
ask for a player to teleport to him.
Alias : tpah, tpahere
+tpahere <playerName>
ask for a player to teleport him to you.
Alias : tpayes, tpaccept
+tpayes <playerName>
accept all tpa / tpahere request. note : tpa request expire after 60 sec (connected or not)
Alias : lang
+lang <yourLang>
change the langage of better faction note : supported langage : en, es, fr, id, vi, pl
Alias : c, chat
+chat all
go in the general chat
+chat f +chat faction
go in a private chat with your faction
+chat a +chat ally
go in a private chat with your faction and other faction you have relation with +f ally…
+chat <password>
go in a private chat with every player who put the same password
Alias : faction, f faction Command : Alias : create
+f create <factionName>
create a new faction.
Alias : quit, q
+f quit
leave the faction.
Alias : invite, invit, inv
+f invite <playerName> +f invite clear +f invite list
invite a player to join your faction
Case Sensitive
!!! (“mister art43” is not the same as “Mister Art43”).
Alias : join, j
+f join <FactionName>
for joining a faction.
Alias : info, i
+f info +f info <factionName>
show information about your faction or a specific faction if you enter the name
Alias : sethome, sh
+f sethome
set the faction home (only leader can do that, only in overworld). (if the admin activate this option)
Alias : home, h
+f home
teleport you to the faction home (if the admin activate this option) (default coordinate are the location were the owner create the faction (only in overworld)).
Alias : k, kick
+f kick <playerName>
kick a player from the faction.
Alias : l, list
+f list +f list <factionName>
list all player + permission inside the faction.
Alias : b, bank
+f bank add <number> +f bank remove <number>
add or remove money to the faction bank (only leader and co leader can remove money).
Alias : promote
+f promote <playerName>
promote a player inside the faction (can only be used by the leader and co leader) [visitor > member > co leader > leader]
Alias : demote
+f demote <playerName>
demote a player inside the faction (can only be used by the leader and co leader) [visitor > member > co leader > leader]
Alias : warp, w Warp Command :
+w
launch the warp ui (is not the same if you are admin or not)
+w <WarpName>
teleport you to a warp
Alias : add
+w add <WarpName>
add a new warp at your current location
Alias : list
+w list
display all warp (IF THE PLAYER HAVE AN ACCESS)
Alias : close, open
+w close <warpName>
turn on or off a warp (so player won’t be able to use it when it’s off)
Alias : message, msg
+w msg
turn on or off the message.
Alias : message, msg
+w msg <warpName>
edit the message it display when you use this warp
Alias : delay
+w delay <warpName> <number>
set the delay (secondes) before a player can use the warp again
Alias : cmd, command, runcommand
+w cmd add “<warpName>” “<command>” +w cmd remove “<warpName>” “<command>” +w cmd clear “<warpName>” +w cmd list “<warpName>”
add commands which will be executed by the player when he will use the warp
Can Throw error !
Alias : access
+w access add allow <warpName> <tag> +w access remove allow <warpName> <tag> +w access add deny <warpName> <tag> +w access remove deny <warpName> <tag> +w access list
manage access on a warp with tag : allow tags : -if the player have the same tag so he is ALLOWED to use this warp deny tags : -if the player have the same tag he CAN’T use this warp (note: if there is no allow tag, everyone can use this warp, deny tag take priority on allow tag).
Admin command : note: to be admin you need to do
/tag @s add Admin
(It’s case sensitive so admin is not the same as Admin)
Alias : update
+update
if needed it will update the database (work for an upgrade or a downgrade version starting at the 1.0.14)
Alias : warn
+warn <playerName>
add a warn to a player
Alias : unwarn
+warn <playerName>
remove a warn to a player
Alias : inventory
+inventory “<playerName>”
show the inventory and the hotbar of a player (only work if the player is connected)
Alias : tp
+tp <playerName>
teleport you to the player (works with customName)
Alias : back
+back
teleport you to the place before a tp (any tp from better faction command)
Alias : admin
+admin add <password> “<playerName>” +admin remove <playerName> +admin list
push the player in the Admin database (the password need to be only character without space) work with +lock
Alias : lock
+lock
will lock the Admin database and will remove anyone who try to give itself the Admin tag and is not inside the Admin database it also avoid Admin player to be ban
Alias : unban
+unban <playerName>
unban the current player
Custom Chat : (ADMIN COMMAND)
Alias : role
+role add <roleName>
+role remove <roleName>
add or remove role displaying when you talk in the chat.
ADVERSITE
tags parameter : you can customise color of the player name and his message by giving him a tag :
/tag “mister art43” add colorName:§b /tag “mister art43” add colorMessage:§e
log tags : /tag @s add log
allow you to see some log from the script and more information on some commands when they are used.
/tag @s add chat_log
allow you to see any private discussion in the world adding money thanks to tags parameter :
/tag “<playerName>” add “money:<number>” /tag “<playerName>” add “setmoney:<number>”
/tag “mister art43” add “money:100”
-> will add 100 money to mister art43
/tag “mister art43” add “money:-100”
-> will remove 100 money to mister art43
/tag “mister art43” add “setmoney:100”
-> will set at 100 money for mister art43 ban tag
/tag “<playerName>” add ban
kick the player until you unban him /!\the money can overflow and go more than a scoreboard can do (2 147 483 647) (modifié)
+display add <title|actionbar> <tag> “<text>” +display remove <id> +display list
(+display list show the id of each display) show a custom “setdisplay” scoreboard for all player who have the tag note that you can switch between different tag to make multiple display !
don’t forget “/tag add @s add Admin” for use admin command.