diff --git a/Community-Scripts.md b/Community-Scripts.md index d33143f..9d921d3 100644 --- a/Community-Scripts.md +++ b/Community-Scripts.md @@ -1121,9 +1121,10 @@ number_in_group_of_worlds: * `%javascript_listplayers_all,%` - Matches all players * `%javascript_listplayers_perm,+,%` - Matches all players with the specified permission(s) * `%javascript_listplayers_world,+,%` - Matches all players in specified world(s) +* `%javascript_listplayers_nearby,,%` - Matches all players in a nearby radius **Types:** -* `list` - Returns a list of players separated by `, `
+* `list` - Returns a list of players separated by `, ` * `amount` - Returns amount of players matched * `` - 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**