Jump to content

Name Layer

From Civnodes Wiki
(Redirected from NameLayer)

Name Layer is the group system. You make a group, invite players to it at a rank, and decide what each rank is allowed to do. Other plugins tie their protection to a group, so a group is what shares your Citadel reinforcements, Nodes, Juke Alert snitches, factories and group chat with the people you trust.

Groups

Create a group with /nlcg <group> [password]. A name can be up to 32 characters and has to be unused. You become the group's primary owner.

You can be primary owner of 35 groups. Groups you only belong to don't count.

The first time you join the server, a group with your own name is created for you and set as your default group.

Don't put everything you build on one group. Anyone you invite to a group gets its rank permissions on every block reinforced to it, so keep a private group for your own chests and separate groups for a shared base or a town.

Default group

Your default group is the one commands fall back on when you leave the group name out. Citadel's easy mode, /ctf and /ctr all use it. Set it with /group <group>. /nlgdg tells you what it currently is.

The menu

/nl opens a menu with all your groups and your rank on each. From it you can create a group or join one by password. Click a group to manage it, or go straight there with /nl <group>.

A group's menu lists its members and pending invites. From it you can invite players, change ranks, remove members, edit the blacklist, set a password, edit permissions, set the group as your default and leave. The Admin/Owner functions button holds merging, the group colour, transferring and deleting.

Ranks

A group has four ranks: Member, Mod, Admin and Owner. The first row of the table is not a rank. It covers everyone outside the group, who can be given permissions too.

Rank What it can do by default
Outside the group Nothing. This is every player who is not in the group and not on its blacklist. You can hand them permissions, for example DOORS for a public door.
Member Open the group's chests and doors, harvest and plant on its soil, use beacons and item frames, see reinforcement details, switch blocks between secure and insecure, use its factories, read and write in its chat, get snitch alerts and read snitch logs, pass its snitches without being logged, count as an insider in its nodes, buy from shops limited to the group, see ore the group shares through Ore Goggles.
Mod Everything a Member can, plus reinforce on the group, bypass and repair its reinforcements, fire acid blocks, edit signs and other reinforced blocks, invite and remove Members, edit the blacklist, list and rename snitches, clear snitch logs, upgrade factories and change their templates, open node storage.
Admin Everything a Mod can, plus invite and remove Mods, see and set the password, view the permission setup, see the member list and group stats, change the group colour, claim nodes and name them.
Owner Everything an Admin can, plus invite and remove Admins and Owners, edit permissions, merge the group and delete it.

Ranks don't inherit from each other. Each rank has its own set of permissions, so taking a permission away from Mods leaves it with Admins and Owners until you remove it there too.

The primary owner is the player who created the group or was handed it by transfer. Nobody can remove or demote them, and they always keep the permissions that only Owners have by default, whatever the permission setup says. A group can have other players at Owner rank, but only one primary owner.

Inviting, promoting and removing

/nlip <group> <player> [rank] invites a player. The rank is MEMBERS, MODS, ADMINS or OWNER and defaults to MEMBERS. The player doesn't have to be online, but has to have joined the server before. You need the permission for the rank you are inviting to, so a Mod can invite Members and nothing higher.

The invited player accepts with /nlag <group>. /nlrg <group> turns the invite down. /nllci lists your open invites. /nltaai makes you accept every invite automatically, and running it again switches that off.

/nlri <group> <player> takes back an invite that has not been accepted.

/nlpp <group> <player> <rank> changes a member's rank, up or down. You need the permission for the rank they have now and for the rank they are going to. You can't change your own rank.

/nlrm <group> <player> removes a member, and needs the permission for that member's rank. /nlleg <group> takes you out of a group yourself.

Blacklist

The blacklist shuts named players out of whatever you gave to everyone outside the group, and stops them joining with the password. /nlbl <group> <player> adds a player, /nlubl <group> <player> removes them and /nlsbl <group> shows the list. Members of the group can't be blacklisted, and a blacklisted player has to be taken off the list before they can be invited.

Passwords

A group with a password lets anyone who knows it join without an invite, using /nljg <group> <password>. They join as a Member.

Set the password when you create the group, or later with /nlsp <group> <password>. To remove it, use the password button in the group's menu and type delete when asked. The password is not hidden. Every Admin and Owner can read it in the menu.

Permissions

/nlmp <group> <add|remove> <rank> <permission> gives a permission to a rank or takes it away. For players outside the group the rank name is NOT_BLACKLISTED. Only ranks with PERMS can edit, which is Owners by default.

/nllp <group> [rank] lists what a rank holds. Without a rank it lists your own.

The Default ranks column shows who holds a permission on a new group. M is Member, Mo is Mod, A is Admin and O is Owner.

Permission From Default ranks What it allows
MEMBERS Name Layer Mo, A, O Inviting and removing Members
MODS Name Layer A, O Inviting and removing Mods
ADMINS Name Layer O Inviting and removing Admins
OWNER Name Layer O Inviting and removing Owners
BLACKLIST Name Layer Mo, A, O Viewing and editing the blacklist
PASSWORD Name Layer A, O Viewing, setting and removing the password
LIST_PERMS Name Layer A, O Viewing the group's permission setup
PERMS Name Layer O Changing the group's permission setup
GROUPSTATS Name Layer A, O Seeing the member list and member counts
EDIT_COLOR Name Layer A, O Changing the group colour
MERGE Name Layer O Merging the group with another one
DELETE Name Layer O Deleting the group
OPEN_GUI Name Layer M, Mo, A, O Opening the group's menu
JOIN_PASSWORD Name Layer M Marks the rank that players joining by password receive
REINFORCE Citadel Mo, A, O Reinforcing blocks on the group
BYPASS_REINFORCEMENT Citadel Mo, A, O Breaking the group's reinforced blocks in one break, and changing their material or group
REPAIR_REINFORCEMENT Citadel Mo, A, O Repairing damaged reinforcements
ACIDBLOCK Citadel Mo, A, O Firing acid blocks reinforced on the group
MODIFY_BLOCK Citadel Mo, A, O Editing signs, stripping logs, tilling dirt, waxing copper and similar changes to reinforced blocks
CHESTS Citadel M, Mo, A, O Opening reinforced containers
DOORS Citadel M, Mo, A, O Opening reinforced doors, trapdoors and fence gates
CROPS Citadel M, Mo, A, O Harvesting and planting on reinforced soil
REINFORCEMENT_INFO Citadel M, Mo, A, O Seeing the group and maturation of a reinforcement
INSECURE_REINFORCEMENT Citadel M, Mo, A, O Switching a reinforced block between secure and insecure
BEACONS Citadel M, Mo, A, O Opening reinforced beacons
HANGING_PLACE_BREAK Citadel M, Mo, A, O Placing and breaking item frames and paintings on reinforced blocks
ITEM_FRAME_PUT_TAKE Citadel M, Mo, A, O Putting items into those item frames and taking them out
ITEM_FRAME_ROTATE Citadel M, Mo, A, O Rotating items in those item frames
NODE_CLAIM Nodes A, O Claiming a node for the group, moving a node to the group and bypassing its node controller
NODE_ACCESS Nodes M, Mo, A, O Being treated as an insider by the group's nodes, so they don't block your reinforcing, pearls and other actions. Reinforcing still needs REINFORCE on the group you reinforce to
NODE_NAME Nodes A, O Naming the group's nodes
NODE_STORAGE Nodes Mo, A, O Opening the storage of the group's node controllers
SNITCH_NOTIFICATIONS Juke Alert M, Mo, A, O Getting the group's snitch alerts in chat
READ_SNITCHLOG Juke Alert M, Mo, A, O Reading snitch logs
SNITCH_IMMUNE Juke Alert M, Mo, A, O Not being recorded by the group's snitches
LIST_SNITCHES Juke Alert Mo, A, O Listing all of the group's snitches
RENAME_SNITCH Juke Alert Mo, A, O Renaming snitches
CLEAR_SNITCHLOG Juke Alert Mo, A, O Clearing a snitch log
SNITCH_TOGGLE_LEVER Juke Alert Mo, A, O Setting whether a snitch flips a lever when someone enters its range
USE_FACTORY Factory Mod M, Mo, A, O Using factories reinforced on the group
UPGRADE_FACTORY Factory Mod Mo, A, O Upgrading and changing those factories
FACTORY_TEMPLATES Factory Mod Mo, A, O Adding templates to those factories and taking them out
READ_CHAT Chat M, Mo, A, O Seeing messages in the group's chat
WRITE_CHAT Chat M, Mo, A, O Sending messages to the group's chat
ALLOW_EXILE_BROADCAST Prison Pearl M, Mo, A, O Letting a pearled member broadcast their pearl's location to the group
PURCHASE_PERMISSION Item Exchange M, Mo, A, O Buying from shops limited to the group
VEIN_MAPS Ore Goggles M, Mo, A, O Seeing, through Prospector's Goggles, ore found by members who have the group as their default group

The four node permissions can't be given to players outside the group.

Merging, transferring and deleting

None of the three can be undone.

Merging folds one group into another. /nlmg <group to keep> <group to delete> moves the members, reinforcements, snitches and nodes of the second group onto the first, then removes the second group. You need MERGE on both groups. Members of the removed group who had it as their default group are switched to the surviving one. Its permission setup, blacklist and open invites are dropped.

Transferring makes another player the primary owner. Only the primary owner can do it, with /nltg <group> <player>. The new owner has to be a member of the group already and must be under the 35 group limit. You stay in the group at Owner rank.

Deleting removes the group. Run /nldelete <group>, then confirm within 15 seconds with /nldelete CONFIRM DELETION <group>. Its snitches are deleted with it. Blocks reinforced on it are not handed back. They stay reinforced and nobody from the group can open or bypass them any more, so bypass what you want to keep before you delete.

Commands

Command What it does
/nl [group] Opens the menu
/nlcg <group> [password] Creates a group
/group <group> Sets your default group
/nlgdg Shows your default group
/nllg [page] Lists your groups
/nllm <group> [rank] Lists a group's members
/nlip <group> <player> [rank] Invites a player
/nlag <group> Accepts an invite
/nlrg <group> Rejects an invite
/nlri <group> <player> Takes back an invite
/nllci Lists your open invites
/nltaai Toggles accepting invites automatically
/nlpp <group> <player> <rank> Changes a member's rank
/nlrm <group> <player> Removes a member
/nlleg <group> Leaves a group
/nljg <group> <password> Joins a group by password
/nlsp <group> <password> Sets a group's password
/nlbl <group> <player> Blacklists a player
/nlubl <group> <player> Takes a player off the blacklist
/nlsbl <group> Shows the blacklist
/nllp <group> [rank] Lists a rank's permissions
/nlmp <group> <add|remove> <rank> <permission> Gives or removes a permission
/nllpt Lists the rank names
/nlsgc <group> <colour> Sets the group colour, by colour name or hex code
/nlmg <group to keep> <group to delete> Merges two groups
/nltg <group> <player> Transfers a group to a new primary owner
/nldelete <group> Deletes a group