diff --git a/docs/addons/Advanced-Start.html b/docs/addons/Advanced-Start.html index 00f1d2f1..36d3090c 100644 --- a/docs/addons/Advanced-Start.html +++ b/docs/addons/Advanced-Start.html @@ -88,8 +88,10 @@
Explosive Gaming's server scenario for 0.18
+ + +Commands Module - Protection + - Adds commands that can add and remove protection
+ + + + + + + + + + + + +| utils.event | +
| utils.global | +
| expcore.roles | +
| expcore.commands | +
| expcore.common | +
| modules.control.protection | +
| modules.control.selection | +
| protect-entity | +Toggles entity protection selection | +
| protect-area | +Toggles area protection selection | +
Explosive Gaming's server scenario for 0.18
+ + +Control Module - Protection + - Controls protected entities
+ + + + + + + + + + + + +| utils.global | +
| utils.event | +
| config.protection | +
| expcore.roles | +
| on_player_mined_protected | +When a player mines a protected entity | +
| on_repeat_violation | +When a player repeatedly mines protected entities | +
| EntityProtection.add_entity(entity) | +Add an entity to the protected list | +
| EntityProtection.remove_entity(entity) | +Remove an entity from the protected list | +
| EntityProtection.get_entities(surface) | +Get all protected entities on a surface | +
| EntityProtection.is_entity_protected(entity) | +Check if an entity is protected | +
| EntityProtection.add_area(surface, area) | +Add an area to the protected list | +
| EntityProtection.remove_area(surface, area) | +Remove an area from the protected list | +
| EntityProtection.get_areas(surface) | +Get all protected areas on a surface | +
| EntityProtection.is_position_protected(surface, position) | +Check if an entity is protected | +
When a player mines a protected entity
+ + + + Event Parameters: + +When a player repeatedly mines protected entities
+ + + + Event Parameters: + +Add an entity to the protected list
+ + + + Parameters: + +Remove an entity from the protected list
+ + + + Parameters: + +Get all protected entities on a surface
+ + + + Parameters: + +Check if an entity is protected
+ + + + Parameters: + +Add an area to the protected list
+ + + + Parameters: + +Remove an area from the protected list
+ + + + Parameters: + +Get all protected areas on a surface
+ + + + Parameters: + +Check if an entity is protected
+ + + + Parameters: + +Explosive Gaming's server scenario for 0.18
+ + +Control Module - Selection + - Controls players who have a selection planner, mostly event handlers
+ + + + + + + + + + + + +| utils.event | +
| utils.global | +
| on_player_selection_start | +When a player enters selection mode | +
| on_player_selection_end | +When a player leaves selection mode | +
| start(player, selection_name[, single_use=false]) | +Let a player select an area by providing a selection planner | +
| stop(player) | +Stop a player selection by removing the selection planner | +
| get_arguments(player) | +Get the selection arguments for a player | +
| is_selecting(player[, selection_name]) | +Test if a player is selecting something | +
| on_selection(selection_name, handler) | +Filter on_player_selected_area to this custom selection, appends the selection arguments | +
| on_alt_selection(string, function) | +Filter on_player_alt_selected_area to this custom selection, appends the selection arguments | +
When a player enters selection mode
+ + + + Event Parameters: + +When a player leaves selection mode
+ + + + Event Parameters: + +Let a player select an area by providing a selection planner
+ + + + Parameters: + +Stop a player selection by removing the selection planner
+ + + + Parameters: + +Get the selection arguments for a player
+ + + + Parameters: + +Test if a player is selecting something
+ + + + Parameters: + +Filter on_player_selected_area to this custom selection, appends the selection arguments
+ + + + Parameters: + +Filter on_player_alt_selected_area to this custom selection, appends the selection arguments
+ + + + Parameters: + +