Skip to content

Actions

Ali Arslan edited this page Nov 14, 2025 · 5 revisions

uxmFarmer Actions Configuration Guide

uxmFarmer Actions are highly configurable commands executed upon GUI clicks or entity interactions, providing extreme flexibility in defining logic. Actions are used in the format: [action_name] arguments. All in-line formatting uses MiniMessage tags.

Action Name Description Example
player Executes the given command as the player. [player] farmer sellall
console Executes the given command as the console (server). [console] give %player_name% dirt 64
player_message Sends the given message string directly to the player using MiniMessage formatting. [player_message] <green><bold>Farmer Menu Opened!
console_message Sends the given message string to the server console. [console_message] Player %player_name% opened farmer GUI.
menu Shows the given menu/GUI ID to the player. [menu] main
close Closes the player's currently open GUI. [close]
sell_all Sells everything currently stored in the Farmer's storage. [sell_all]
modify_appearance Changes the Farmer's entity type (appearance) to the specified type. [modify_appearance] ALLAY
modify_profession Changes the Farmer's Villager profession. Only applies if the entity type is set to Villager. [modify_profession] LIBRARIAN
glow_color Changes the glowing color of the farmer NPC. [glow_color] GREEN
glow_status Toggles the glowing effect (on/off) for the farmer NPC. [glow_status]
buy Executes the farmer purchase logic, typically opening the purchase menu. [buy]
check_permission Checks if the player has a specific permission. If the player lacks the permission, the provided MiniMessage will be sent and no further actions in the sequence will be executed. [check_permission] uxmfarmer.vip <red>You need VIP rank!
cooldown Applies a specific cooldown to the player, preventing execution of certain actions until the cooldown expires. [cooldown] change-entity-cooldown
sound Plays a specified Bukkit Sound to the player upon action execution. [sound] ENTITY_ALLAY_AMBIENT_WITHOUT_ITEM
wait Pauses the execution of subsequent actions in the sequence for a specified duration (in ticks, 20 ticks = 1 second). [wait] 10
kick_member Removes a specified member from the current Farmer's member list. [kick_member] JohnDoe
next_page Navigates to the next page in the current paged GUI view. [next_page]
previous_page Navigates to the previous page in the current paged GUI view. [previous_page]
change_status Toggles Farmer's default collection status on or off. [change_status]

Clone this wiki locally