mirror of
https://github.com/PlaceholderAPI/Javascript-Expansion.git
synced 2025-05-23 18:42:44 +00:00
Updated Community Scripts (markdown)
parent
f98d5cf75c
commit
5427bd5ca4
@ -1121,9 +1121,10 @@ number_in_group_of_worlds:
|
||||
* `%javascript_listplayers_all,<type>%` - Matches all players
|
||||
* `%javascript_listplayers_perm,<permission_1>+<permission_2>,<type>%` - Matches all players with the specified permission(s)
|
||||
* `%javascript_listplayers_world,<world_1>+<world_2>,<type>%` - Matches all players in specified world(s)
|
||||
* `%javascript_listplayers_nearby,<radius>,<type>%` - Matches all players in a nearby radius
|
||||
|
||||
**Types:**
|
||||
* `list` - Returns a list of players separated by `, `<br />
|
||||
* `list` - Returns a list of players separated by `, `
|
||||
* `amount` - Returns amount of players matched
|
||||
* `<integer>` - Returns the player at the specified index
|
||||
|
||||
@ -1131,6 +1132,9 @@ number_in_group_of_worlds:
|
||||
* `%javascript_listplayers_all,list%` - `Tanguygab, cj89898, funnycube, clip`
|
||||
* `%javascript_listplayers_perm,staff.admin,amount%` - `2`
|
||||
* `%javascript_listplayers_world,buildingworld+spawnworld,2%` - `funnycube`
|
||||
* `%javascript_listplayers_nearby,5,2%` - `Tanguygab, clip`
|
||||
|
||||
*You can also use `[placeholder]` for papi placeholders in addition to the javascript `{placeholder}`*
|
||||
|
||||
**Javascript Code**
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user