Commands - LandlordPlugin/LandLord GitHub Wiki

Player commands:

/land help

Description:

Displays the help menu. You can click in the chat to navigate the menu.

Config options:

  • items per site
  • displayed strings

/land claim

Description:

Allows to claim the land you are standing on. Also allows to buy up the land of inactive players or advertised lands. One command for all the actions. Different chat messages are indicating if a player is buying a free land, an inactive or an advertised one.

Config options:

  • maximum amount of lands a player can claim via limits permission
  • buy claims to be allowed to claim more lands (max claims capped by limits permission)
  • allow claiming of adjacent chunks only
  • requires a gap between to lands with different owners
  • confirmation of the claim via chat-click or GUI
  • display particles
  • set home on first claimed land automatically
  • delimit the chunk with a pattern of your choice on claim

/land multiclaim

Description:

Claims multiple lands at once. Requires the a claiming option as parameter. Options are "circular" (not yet implemented) or "rectangular". All the individual claim actions are redirected to the function that handles /land claim. So multiclaim might show a higher land claim count then the amount of lands, that actually will be claimed.

Config options:

  • Confirmation via command or gui.

/land unclaim

Description:

Unclaims a land. Also works with /ll unclaim . People with the permission landlord.admin.unclaim are able to unclaim other people lands. If there is a home on the land, it will be removed. Also if the land was for sale, the advertisement will be removed.
Unclaim will trigger the LandUnclaimEvent, which can be cancelled.

Config options:

  • Payback coefficient

/land addfriend

Description:

Adds a friend to the land. Friends will be able to do all the stuff you are able to do except for claim management.
It is not possible to add a friend to your land, that never played on the server before!
Multiple friends can be added at once with /ll addfriend name1 name2 ...

/land addfriendall

Description:

Same as normal addfriend, except that you cant add multiple friends at once.

/land unfriend

Description:

Removes a friend from the land you are standing on.
Multiple names can be removed in one go via /ll unfriend name1 name2 ...

/land unfriendall

Description:

Same as normal unfriend except that only one friend can be unfriended at a time.

/land manage

Description:

Opens a management GUI. If typed with no argument, you will be managing the land you are currently standing on.
The other subcommands are called internally by clicking in the management gui, but can also be typed out manually.
All the stuff, which should be manageable can be configured in the config ("Manage.flagname"). If you wanna add a custom worldguard flag to the manage gui you have to insert a custom entry into the "Manage" config submenu. Just copy paste one of the other entries and append it to the list. It is very important that the name actually matches the name of the worldguard flag you wanna toggle.

Manage:
  creeper-explosion:
    enable: true
    item: TNT

Subcommands:

  • /land manage world_12_-2
  • /land manage setgreetall
  • /land manage setfarewellall
  • /land manage setgreet
  • /land manage setfarewell

Config options:

  • Items and actions in /ll manage

/land manageall

Description:

Same like normal manage, except settings you make will be copied to all your lands. In case you have differing permissions on your lands, mangeall will display the current state of the first found land you own.

/land list

Description:

Lists all the lands of some player. If there is no parameter, it will list your own lands.
Output can be displayed in a gui or chat. All displayed messages can be configured.
If you click in the gui on a land, it will take you to the management menu for the specific land.

Config options:

  • gui or chat
  • amounts of lands per page (chat)

/land info

Description:

Shows information about the land you are currently standing on. Chunk boundaries are highlighted with particles.
There are 3 types of lands: free, owned and advertised.

Config options:

  • item

/land map

Description:

Toggles the land map. Displays all the surrounding lands and your relation to it (owned, friended, foreign).

Config options:

  • update interval
  • symbols

/land shop

Description:

Opens a gui, where you can buy claims. Claims are the maximum amount of lands you are able to claim (also limited by a few other options, like permissions obviously). The shop is only active, if vault and an economy provider is installed.

Config options:

  • the material of the displayed item, the amount and the price.

/land claims

Description:

Shows your current lands and claims in a format like 5/10. In this example the player claimed 5 chunks and bought 10 claims before.
Is only active, if vault and an economy provider is installed.

/land home

Description:

Teleports you to your home. A delay, teleportation cost and additional particles may be configured.

Config options:

  • delay
  • cost
  • particles

/land sethome

Description:

Sets your home on your current location. Does only work, if you own the chunk you are standing on.

Config options:

  • autosethome when a player doesnt have a home yet

/land borders

Description:

Toggles the border highlighting with particles. Interval is configurable.

Config options:

  • interval of particle display

/land advertise

Description:

Advertises the land you are currently standing on. That means, another player may buy your land for the price you set with /ll advertise.

/land removeadvertise

Description:

Removes an ad from the land you are currently standing on.

Administrative Commands:

/land clear

Description:

Opens a gui of all available clear options.
Available are: Clear world, clear land, clear all lands of the player, that owns the chunk you are standing in.

/land reload

Description:

Reloads landlord. Does not reload all the messages for some weird reason I have not bothered to find out yet. Config options will be reloaded!

/land update

Description:

In case you edited the default flags for your landlord lands, you can copy the edited stuff to all lands using this command. Please note: -r will reset all flags to the default state, while executing it without a parameter will just add any missing flags to every land.

Subcommands:

  • /ll update
  • /ll update -r

/land giveclaims

Description:

Gives claims to a player. If no player is defined, give yourself claims. If you define a price, it will take money from the player for giving him claims.

Subcommands:

  • /ll giveclaims player price amount
  • /ll giveclaims player amount
  • /ll giveclaims amount

Config options:

  • item

/land admintp

Description:

Opens a gui displaying all the lands of a player. Clicking on a land teleports you to it.

/land adminclaim

Description:

Claims the land the admin is currently standing on for another player. Bypasses all restrictions.

⚠️ **GitHub.com Fallback** ⚠️