DUXPLIMA Documentation

Friends

Letting other players use a spawner without giving them the block, what a friend can do, and how the list is managed.

An owner can add friends to a spawner. A friend opens its menu as if it were theirs, so a team can share one farm without handing the spawner over.

What a friend can do

ActionOwnerFriend
Open the menu, take items and XP, sellYesYes
Toggle auto-kill, virtual storage, XP storageYes, with the permissionYes, with the permission
Toggle the hologramYesYes
Level upYesNo
Manage friendsYesNo
Break the spawnerYesNo

A friend who sells gets the money, at their own multiplier. A friend who takes XP gets the XP.

Managing the list

Only the owner opens the friends menu. In it:

ClickDoes
Add FriendCloses the menu and asks for a name in chat
A friend's headRemoves that friend

After Add Friend, the owner's next chat message is read as the name and is not shown in chat. cancel, a message with a space in it, or their own name cancels it. The player does not have to be online, but the name has to be spelled exactly.

The message promises ten seconds, but there is no time limit in 4.2.0: whatever the owner types next is taken as the name, even an hour later. Tell players to finish or type cancel.

The module file

friends:
  enabled: true
  permission: uxmspawners.friends

Neither setting is read in 4.2.0: every owner can add friends. To remove the feature, set gui: false on the friends item in the language file, which hides the button.

Friends belong to one spawner

The list belongs to the spawner, not to the player. Each spawner has its own, and breaking the last level of a spawner ends it.

Related: Storage & Selling, Language and Menus