Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:forceresourcepacks:commands [2024/03/16 16:58] phoenix616plugin:forceresourcepacks:commands [2026/01/05 13:37] (current) – Include Resourcepacks Plugins commands page phoenix616
Line 1: Line 1:
-# Commands+{{page>plugin/resourcepacksplugins/commands}}
  
-## /frp reload [resend] +#### required true|false
-Reloads the config file; resends the packs to every online player if the 2nd argument is "resend" +
- +
-## /frp generatehashes +
-Downloads the resource pack files and generates the sha1 hashes of them +
- +
-## /frp version +
-Shows the version of this plugin +
- +
-## /frp pack <pack> [url|hash|uuid|version|format|restricted|permission] +
-Edit a value of a pack +
- +
-## /frp addpack <name> <url> +
-Add a new pack (check out mcrp.host if you need a server resource pack host) +
- +
-## /frp removepack <name> +
-Remove a pack +
- +
-## /frp getpacks [<player>+
-Get the currently applied pack of a player +
- +
-## /frp getstoredpack [<player>+
-Get the stored pack of a player (requires UUID for offline players) +
- +
-## /frp packusage <pack> +
-Get the applied and stored counts for a pack +
- +
-## /frp listassignments +
-List all server/world assignments +
- +
-## /frp deleteassignment <assignment> +
-Delete a certain server/world assignment +
- +
-## /frp globalassignment|assignment <assignment> +
-Show/edit values of a certain assignment or the global ones. Sub commands: +
- +
-### info +
-Get information about the config values of the assignment +
- +
-### addpack <pack> +
-Add a pack to the assignment +
- +
-### removepack <pack> +
-Remove a pack from the assignment +
- +
-### required true|false+
 Set whether the pack is required for the assignment. Only works on 1.17+ clients. Use the [kick](statuses#kick) action for older clients Set whether the pack is required for the assignment. Only works on 1.17+ clients. Use the [kick](statuses#kick) action for older clients
  
-### promptmessage <message>+#### promptmessage <message>
 Set the message that is displayed on the prompt screen for clients above 1.17 Set the message that is displayed on the prompt screen for clients above 1.17
  
-### addoptionalpack <pack> +#### addaction <status> <action> <value>
-Add an optional pack to the assignment +
- +
-### removeoptionalpack <pack> +
-Remove an optional pack from the assignment +
- +
-### regex <regex> +
-Set a regex to match the server/world names +
- +
-### senddelay <delay in ticks> +
-Set the delay before sending the pack to a player +
- +
-### addaction <status> <action> <value>+
 Add an [action](actions) to the assignment to react on a specific [status](statuses) Add an [action](actions) to the assignment to react on a specific [status](statuses)
  
-### removeaction <status> [<action>]+#### removeaction <status> [<action>]
 Remove an [action](actions) from the assignment from a specific [status](statuses). (Or all actions of a [status](statuses) if no action is given) Remove an [action](actions) from the assignment from a specific [status](statuses). (Or all actions of a [status](statuses) if no action is given)
  
-### addfirstjoinaction <status> <action> <value>+#### addfirstjoinaction <status> <action> <value>
 Add an [action](actions) to the assignment to react on a specific [status](statuses) when it is the first time a player joins the server Add an [action](actions) to the assignment to react on a specific [status](statuses) when it is the first time a player joins the server
  
-### removefirstjoinaction <status> [<action>]+#### removefirstjoinaction <status> [<action>]
 Remove an [action](actions) from the assignment from a specific [status](statuses) when it is the first time a player joins the server. (Or all actions of a [status](statuses) if no action is given) Remove an [action](actions) from the assignment from a specific [status](statuses) when it is the first time a player joins the server. (Or all actions of a [status](statuses) if no action is given)
  
-### addpackaction <pack> <status> <action> <value>+#### addpackaction <pack> <status> <action> <value>
 Add an [action](actions) to the assignment to react on a specific [status](statuses) for a specific pack Add an [action](actions) to the assignment to react on a specific [status](statuses) for a specific pack
  
-### removepackaction <pack> <status> [<action>]+#### removepackaction <pack> <status> [<action>]
 Remove an [action](actions) from the assignment from a specific [status](statuses) for a specific pack. (Or all actions of a [status](statuses) if no action is given) Remove an [action](actions) from the assignment from a specific [status](statuses) for a specific pack. (Or all actions of a [status](statuses) if no action is given)
  
-### addfirstjoinpackaction <pack> <status> <action> <value>+#### addfirstjoinpackaction <pack> <status> <action> <value>
 Add an [action](actions) to the assignment to react on a specific [status](statuses) for a specific pack when it is the first time a player joins the server Add an [action](actions) to the assignment to react on a specific [status](statuses) for a specific pack when it is the first time a player joins the server
  
-### removefirstjoinpackaction <pack> <status> [<action>]+#### removefirstjoinpackaction <pack> <status> [<action>]
 Remove an [action](actions) from the assignment from a specific [status](statuses) for a specific pack when it is the first time a player joins the server. (Or all actions of a [status](statuses) if no action is given) Remove an [action](actions) from the assignment from a specific [status](statuses) for a specific pack when it is the first time a player joins the server. (Or all actions of a [status](statuses) if no action is given)
- 
-## /usepack 
-List all packs that you can choose 
- 
-## /usepack <packname> [<playername>] [<temporary>] 
-Send a specific pack to yourself or another player, depending on the value of temporary it will only apply for this session or also re-apply on the next login. Values are true or false, omitting it will use the usepack-is-temporary config value (defaults to true) 
- 
-## /resetpack [<playername>] [<temporary>] 
-Reset the pack of a player.