diff --git a/.github/workflows/docs_pages.yml b/.github/workflows/docs_pages.yml deleted file mode 100644 index b07b9fc..0000000 --- a/.github/workflows/docs_pages.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: docs - -on: - push: - branches: - - master - -jobs: - docs: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.13' - - run: | - pip install mkdocs - pip install "mkdocstrings[python]" - pip install mkdocs-material - pip install mkdocs-callouts - pip install mkdocs-glightbox - mkdocs gh-deploy --force \ No newline at end of file diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 7135042..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) AURUMVORAX - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md deleted file mode 100644 index a9820c4..0000000 --- a/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# PyG2O - -Python support for server-side scripts in [Gothic 2 Online](https://gothic-online.com.pl/). - -**Documentation:** https://aurumvorxx.github.io/PyG2O/ - -Requirements: -- websockets - -## Credits - -#### Marcin - [NoNut](https://gitlab.com/g2o/modules/dependencies/nonut.git) -*Used as part of PyG2O module (for 1.3.4 legacy version)* - -#### Patrix9999, Martinus-1453 - [Squirrel Module Template](https://gitlab.com/GothicMultiplayerTeam/modules/squirrel-template) -*PyG2O is based on this template (for 1.3.4 legacy version)* \ No newline at end of file diff --git a/docs/classes/game/Daedalus.md b/docs/classes/game/Daedalus.md deleted file mode 100644 index 3954c34..0000000 --- a/docs/classes/game/Daedalus.md +++ /dev/null @@ -1,3 +0,0 @@ -# `static class` Daedalus ---- -::: src.pyg2o.classes.daedalus.Daedalus \ No newline at end of file diff --git a/docs/classes/game/DamageDescription.md b/docs/classes/game/DamageDescription.md deleted file mode 100644 index c7439cb..0000000 --- a/docs/classes/game/DamageDescription.md +++ /dev/null @@ -1,3 +0,0 @@ -# `class` DamageDescription ---- -::: src.pyg2o.classes.damage.DamageDescription \ No newline at end of file diff --git a/docs/classes/game/Sky.md b/docs/classes/game/Sky.md deleted file mode 100644 index 517e994..0000000 --- a/docs/classes/game/Sky.md +++ /dev/null @@ -1,3 +0,0 @@ -# `static class` Sky ---- -::: src.pyg2o.classes.sky.Sky \ No newline at end of file diff --git a/docs/classes/item/ItemGround.md b/docs/classes/item/ItemGround.md deleted file mode 100644 index 40cfa9d..0000000 --- a/docs/classes/item/ItemGround.md +++ /dev/null @@ -1,3 +0,0 @@ -# `static class` ItemGround ---- -::: src.pyg2o.classes.items.ItemGround \ No newline at end of file diff --git a/docs/classes/item/ItemsGround.md b/docs/classes/item/ItemsGround.md deleted file mode 100644 index e00cfa2..0000000 --- a/docs/classes/item/ItemsGround.md +++ /dev/null @@ -1,3 +0,0 @@ -# `static class` ItemsGround ---- -::: src.pyg2o.classes.items.ItemsGround \ No newline at end of file diff --git a/docs/classes/mds/Mds.md b/docs/classes/mds/Mds.md deleted file mode 100644 index 3279ac6..0000000 --- a/docs/classes/mds/Mds.md +++ /dev/null @@ -1,3 +0,0 @@ -# `static class` Mds ---- -::: src.pyg2o.classes.mds.Mds \ No newline at end of file diff --git a/docs/comparing.md b/docs/comparing.md deleted file mode 100644 index 500ec74..0000000 --- a/docs/comparing.md +++ /dev/null @@ -1,105 +0,0 @@ - -* `addEventHandler` replaced with decorator [event](functions/event/event.md) -```python -@pyg2o.event('onInit') -async def evtInitFirst(): - print('Hello') - -@pyg2o.event('onInit', 100) # '100' is priority -async def evtInitSecond(): - print('World') -``` ---- -* Positional arguments inside event handles replaced with keyword arguments (see names of all keywords on the each event page) -```python -@pyg2o.event('onPlayerChangeColor') -async def evtColor(playerid, r, g, b): - pass -``` ---- -* `callEvent` now also requires to pass keyword arguments instead of positional arguments -```python -@pyg2o.event('MyTestEvent') -async def testEvt(name, id): - print(name, id) - -g2o.callEvent('MyTestEvent', name = 'aurumvorax', id = 15) -# OR -g2o.callEvent('MyTestEvent', {'name': 'aurumvorax', 'id': 15}) -# OR -args = {'name': 'aurumvorax', 'id': 15} -asyncio.create_task(pyg2o.callEvent('MyTestEvent', args)) -``` ---- -* `cancelEvent` temporarily disabled ---- -* `isEventCancelled` replaced with built-in function property `cancelled`, alongside with the `eventName` -```python -@pyg2o.event('onPlayerDropItem') -async def evtDrop(**kwargs): - print(evtDrop.cancelled) - print(evtDrop.eventName) -``` ---- -Now all constants should be called via **Constant** class -```pyton -import pyg2o - -@pyg2o.event('onInit') -async def evt_init(): - print(pyg2o.Constant.SERVER_SIDE) -``` -* Following functions and classes have been removed RIP :( - - * `md5` - * `sha1` - * `sha256` - * `sha384` - * `sha512` - * `setReloadCallback` - * `setUnloadCallback` - * `getTimerExecuteTimes` - * `getTimerInterval` - * `killTimer` - * `setTimer` - * `setTimerExecuteTimes` - * `setTimerInterval` - * `sscanf` - * `hexToRgb` - * `rgbToHex` - * `getTickCount` - * `eventValue` - * `getPlayerMagicLevel` - * `setPlayerMagicLevel` - * `Packet` - * `Way` - * `NpcAction` - -* Following constants has been removed: - - * `UNRELIABLE` - * `UNRELIABLE_SEQUENCED` - * `RELIABLE` - * `RELIABLE_SEQUENCED` - * `RELIABLE_ORDERED` ---- -* All functions and events that returned/passed a `null` in the Squirrel, now passes an empty string. Most notable in this list are all equipment related functions and events - * `onPlayerEquipAmulet` - * `onPlayerEquipArmor` - * `onPlayerEquipBelt` - * `onPlayerEquipHandItem` - * `onPlayerEquipHelmet` - * `onPlayerEquipMeleeWeapon` - * `onPlayerEquipRangedWeapon` - * `onPlayerEquipRing` - * `onPlayerEquipShield` - * `onPlayerEquipSpell` - * `getPlayerAmulet` - * `getPlayerArmor` - * `getPlayerBelt` - * `getPlayerHelmet` - * `getPlayerMeleeWeapon` - * `getPlayerRangedWeapon` - * `getPlayerRing` - * `getPlayerShield` - * `getPlayerSpell` \ No newline at end of file diff --git a/docs/constants/anticheat.md b/docs/constants/anticheat.md deleted file mode 100644 index 496d8e6..0000000 --- a/docs/constants/anticheat.md +++ /dev/null @@ -1,5 +0,0 @@ -**Original:** [AntiCheat](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-constants/anticheat/) - -|Name |Description | -|-- | --| -|AC_SPEED_HACK |Represents speed hack state. | \ No newline at end of file diff --git a/docs/constants/context.md b/docs/constants/context.md deleted file mode 100644 index 5be3f6b..0000000 --- a/docs/constants/context.md +++ /dev/null @@ -1,6 +0,0 @@ -**Original:** [Context](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/shared-constants/context/) - -|Name |Description | -|-- | --| -|DAMAGE_CTX | Represents damage script context. Damage context extends packet, that sent information about hit. | -|EQUIPMENT_CTX | Represents equipment script context. Equipment context extends packet, that sent information about equip/unequip/use item. | \ No newline at end of file diff --git a/docs/constants/damage.md b/docs/constants/damage.md deleted file mode 100644 index 1a62269..0000000 --- a/docs/constants/damage.md +++ /dev/null @@ -1,13 +0,0 @@ -**Original:** [Damage](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/shared-constants/damage/) - -|Name |Description | -|-- | --| -|DAMAGE_UNKNOWN |Represents unknown damage type. | -|DAMAGE_BARRIER |Represents barrier damage type. | -|DAMAGE_BLUNT |Represents blunt (weapon) damage type. | -|DAMAGE_EDGE |Represents edge/sharp (weapon) damage type. | -|DAMAGE_FIRE |Represents fire damage type. | -|DAMAGE_FLY |Represents fly damage type. | -|DAMAGE_MAGIC |Represents magic damage type. | -|DAMAGE_POINT |Represents point (weapon) damage type. | -|DAMAGE_FALL |Represents fall damage type. | \ No newline at end of file diff --git a/docs/constants/general.md b/docs/constants/general.md deleted file mode 100644 index 9e15f1b..0000000 --- a/docs/constants/general.md +++ /dev/null @@ -1,7 +0,0 @@ -**Original:** [General](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/shared-constants/general/) - -|Name |Description | -|-- | --| -|DEBUG_MODE |Represents debug mode state. | -|CLIENT_SIDE |`true` if parsed script is on client-side, otherwise `false`. | -|SERVER_SIDE |`true` if parsed script is on server-side, otherwise `false`. | \ No newline at end of file diff --git a/docs/constants/hand.md b/docs/constants/hand.md deleted file mode 100644 index 1bb2308..0000000 --- a/docs/constants/hand.md +++ /dev/null @@ -1,6 +0,0 @@ -**Original:** [Hand](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/shared-constants/hand/) - -|Name |Description | -|-- | --| -|HAND_LEFT |Represents npc left hand slot id. | -|HAND_RIGHT |Represents npc right hand slot id. | \ No newline at end of file diff --git a/docs/constants/item.md b/docs/constants/item.md deleted file mode 100644 index 1b4d766..0000000 --- a/docs/constants/item.md +++ /dev/null @@ -1,40 +0,0 @@ -**Original:** [Item](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/shared-constants/item/) - -|Name |Description | -|-- | --| -|ITEM_CAT_NONE |Represents item flag for uncategorized items. | -|ITEM_CAT_NF |Represents item flag for all melee weapons. | -|ITEM_CAT_FF |Represents item flag for all ranged weapons. | -|ITEM_CAT_MUN |Represents item flag for all types of ammunition. | -|ITEM_CAT_ARMOR |Represents item flag for armors. | -|ITEM_CAT_FOOD |Represents item flag for all food items. | -|ITEM_CAT_DOCS |Represents item flag for all documents. | -|ITEM_CAT_POTION |Represents item flag for all potions. | -|ITEM_CAT_LIGHT |Represents item flag for all light sources (unused). | -|ITEM_CAT_RUNE |Represents item flag for runes. | -|ITEM_CAT_MAGIC |Represents item flag for magic items. | -|ITEM_FLAG_DAG |Represents flag for weapons treated as daggers. | -|ITEM_FLAG_SWD |Represents flag for weapons treated as swords. | -|ITEM_FLAG_AXE |Represents flag for weapons treated as axes. | -|ITEM_FLAG_2HD_SWD |Represents flag for weapons treated as two-handed swords. | -|ITEM_FLAG_2HD_AXE |Represents flag for weapons treated as two-handed axes. | -|ITEM_FLAG_SHIELD |Represents flag for weapons treated as shields. | -|ITEM_FLAG_BOW |Represents flag for weapons treated as bows. | -|ITEM_FLAG_CROSSBOW |Represents flag for weapons treated as crossbows. | -|ITEM_FLAG_RING |Represents flag for items treated as rings. | -|ITEM_FLAG_AMULET |Represents flag for items treated as amulets. | -|ITEM_FLAG_BELT |Represents flag for items treated as belts. | -|ITEM_FLAG_DROPPED |Represents flag for items that have been dropped (internal use). | -|ITEM_FLAG_MI |Represents flag for mission items. | -|ITEM_FLAG_MULTI |Represents flag for multi-item slots. | -|ITEM_FLAG_NFOCUS |Represents flag for items to be ignored in focus (lighting swell). | -|ITEM_FLAG_CREATEAMMO |Represents unused flag for weapons. | -|ITEM_FLAG_NSPLIT |Represents flag for disabling the item splitting feature. | -|ITEM_FLAG_DRINK |Represents flag for items that are drinks. | -|ITEM_FLAG_TORCH |Represents flag for items treated as torches. | -|ITEM_FLAG_THROW |Represents flag for items that can be thrown (unused). | -|ITEM_FLAG_ACTIVE |Represents flag for items equipped in inventory. | -|ITEM_WEAR_NO |Represents wear type for items that cannot be worn. | -|ITEM_WEAR_TORSO |Represents wear type for items worn on the torso. | -|ITEM_WEAR_HEAD |Represents wear type for items worn on the head. | -|ITEM_WEAR_LIGHT |Represents unused wear type for items. | \ No newline at end of file diff --git a/docs/constants/network.md b/docs/constants/network.md deleted file mode 100644 index 48b6abf..0000000 --- a/docs/constants/network.md +++ /dev/null @@ -1,7 +0,0 @@ -**Original:** [Network](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-constants/network/) - -|Name |Description | -|-- | --| -|DISCONNECTED |Represents disconnected player state. | -|LOST_CONNECTION |Represents lost connection player state. | -|HAS_CRASHED |Represents crash player state. | \ No newline at end of file diff --git a/docs/constants/npc.md b/docs/constants/npc.md deleted file mode 100644 index 4d84855..0000000 --- a/docs/constants/npc.md +++ /dev/null @@ -1,30 +0,0 @@ -**Original:** [NPC](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/shared-constants/npc/) - -|Name |Description | -|-- | --| -|ATTACK_RUN |Represents attack run type. | -|ATTACK_FORWARD |Represents attack forward type. | -|ATTACK_LEFT |Represents attack left type. | -|ATTACK_RIGHT |Represents attack right type. | -|ACTION_CLEAR_QUEUE |Represents action clear queue type. | -|ACTION_APPLY_OVERLAY |Represents action apply overlay type. | -|ACTION_REMOVE_OVERLAY |Represents action remove overlay type. | -|ACTION_PLAY_ANI |Represents action play ani type. | -|ACTION_STOP_ANI |Represents action stop ani type. | -|ACTION_EQUIP_ITEM |Represents action equip item type. | -|ACTION_UNEQUIP_ITEM |Represents action unequip item type. | -|ACTION_WEAPON_MODE |Represents action change weapon mode type. | -|ACTION_DRAW_WEAPON |Represents action draw weapon type. | -|ACTION_REMOVE_WEAPON |Represents action remove weapon type. | -|ACTION_USE_ITEM |Represents action use item type. | -|ACTION_USE_ITEM_TO_STATE |Represents action use item to state type. | -|ACTION_READY_SPELL |Represents action ready spell type. | -|ACTION_UNREADY_SPELL |Represents action unready spell type. | -|ACTION_ATTACK_MELEE_WEAPON |Represents action attack melee weapon type. | -|ACTION_ATTACK_RANGED_WEAPON |Represents action attack ranged weapon type. | -|ACTION_SPELL_CAST |Represents action spell cast type. | -|ACTION_USE_MOB_SCHEME |Represents action use mob scheme type. | -|ACTION_SHOOT_AT |Represents action shoot at type. | -|ACTION_START_AIM_AT |Represents action start aim at type. | -|ACTION_STOP_AIM_AT |Represents action stop aim at type. | -|ACTION_SCRIPT |Represents action script type. | \ No newline at end of file diff --git a/docs/constants/reliability.md b/docs/constants/reliability.md deleted file mode 100644 index 5e66f94..0000000 --- a/docs/constants/reliability.md +++ /dev/null @@ -1,9 +0,0 @@ -**Original:** [Reliability](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/shared-constants/reliability/) - -|Name |Description | -|-- | --| -|UNRELIABLE |Unreliable packets are sent by straight UDP. They may arrive out of order, or not at all. This is best for data that is unimportant, or data that you send very frequently so even if some packets are missed newer packets will compensate.

**Advantages** - These packets don't need to be acknowledged by the network, saving the size of a UDP header in acknowledgment (about 50 bytes or so). The savings can really add up.

**Disadvantages** - No packet ordering, packets may never arrive, these packets are the first to get dropped if the send buffer is full. -|UNRELIABLE_SEQUENCED |Unreliable sequenced packets are the same as unreliable packets, except that only the newest packet is ever accepted. Older packets are ignored.

**Advantages** - Same low overhead as unreliable packets, and you don't have to worry about older packets changing your data to old values.

**Disadvantages** - A LOT of packets will be dropped since they may never arrive because of UDP and may be dropped even when they do arrive. These packets are the first to get dropped if the send buffer is full. The last packet sent may never arrive, which can be a problem if you stop sending packets at some particular point.

Note that the transmission of one of the three reliable packets types is required for the detection of lost connections. If you never send reliable packets you need to implement lost connection detection manually.| -|RELIABLE |Reliable packets are UDP packets monitored by a reliablilty layer to ensure they arrive at the destination.

**Advantages** - You know the packet will get there. Eventually...

**Disadvantages** - Retransmissions and acknowledgments can add significant bandwidth requirements. Packets may arrive very late if the network is busy. No packet ordering.| -|RELIABLE_ORDERED |Reliable ordered packets are UDP packets monitored by a reliability layer to ensure they arrive at the destination and are ordered at the destination.

**Advantages** - The packet will get there and in the order it was sent. These are by far the easiest to program for because you don't have to worry about strange behavior due to out of order or lost packets.

**Disadvantages** - Retransmissions and acknowledgments can add significant bandwidth requirements. Packets may arrive very late if the network is busy. One late packet can delay many packets that arrived sooner, resulting in significant lag spikes. However, this disadvantage can be mitigated by the clever use of ordering streams. -|RELIABLE_SEQUENCED |Reliable sequenced packets are UDP packets monitored by a reliability layer to ensure they arrive at the destination and are sequenced at the destination.

**Advantages** - You get the reliability of UDP packets, the ordering of ordered packets, yet don't have to wait for old packets. More packets will arrive with this method than with the unreliable sequenced method, and they will be distributed more evenly. The most important advantage however is that the latest packet sent will arrive, where with unreliable sequenced the latest packet sent may not arrive.

**Disadvantages** - Wasteful of bandwidth because it uses the overhead of reliable UDP packets to ensure late packets arrive that just get ignored anyway.| \ No newline at end of file diff --git a/docs/constants/skill-weapon.md b/docs/constants/skill-weapon.md deleted file mode 100644 index 9ef7ab9..0000000 --- a/docs/constants/skill-weapon.md +++ /dev/null @@ -1,8 +0,0 @@ -**Original:** [Skill weapon](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/shared-constants/skill-weapon/) - -|Name |Description | -|-- | --| -|WEAPON_1H |Represents npc one handed weapon skill. | -|WEAPON_2H |Represents npc two handed weapon skill. | -|WEAPON_BOW |Represents npc bow weapon skill. | -|WEAPON_CBOW |Represents npc crossbow weapon skill. | \ No newline at end of file diff --git a/docs/constants/talent.md b/docs/constants/talent.md deleted file mode 100644 index ba3572f..0000000 --- a/docs/constants/talent.md +++ /dev/null @@ -1,26 +0,0 @@ -**Original:** [Talent](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/shared-constants/talent/) - -|Name |Description | -|-- | --| -|TALENT_1H |Represents npc one handed weapon skill talent (valid talent values are: 0,1,2). | -|TALENT_2H |Represents npc two handed weapon skill talent (valid talent values are: 0,1,2). | -|TALENT_BOW |Represents npc bow weapon skill talent (valid talent values are: 0,1,2). | -|TALENT_CROSSBOW |Represents npc crossbow weapon skill talent (valid talent values are: 0,1,2). | -|TALENT_PICK_LOCKS |Represents npc picklock talent. | -|TALENT_PICKPOCKET |Represents npc pickpocket talent. | -|TALENT_MAGE |Represents npc magic circle talent. | -|TALENT_SNEAK |Represents npc sneak talent. | -|TALENT_REGENERATE |Represents npc health regeneration talent. | -|TALENT_FIREMASTER |Represents npc firemaster talent (unused by the game). | -|TALENT_ACROBATIC |Represents npc acrobatic talent. | -|TALENT_PICKPOCKET_UNUSED |Represents npc old pickpocket talent (unused by the game). | -|TALENT_SMITH |Represents npc smith talent. | -|TALENT_RUNES |Represents npc runes creation talent. | -|TALENT_ALCHEMY |Represents npc potion creation talent. | -|TALENT_THROPHY |Represents npc trophy gathering talent. | -|TALENT_A |Represents npc talent A (unused by the game). | -|TALENT_B |Represents npc talent B (unused by the game). | -|TALENT_C |Represents npc talent C (unused by the game). | -|TALENT_D |Represents npc talent D (unused by the game). | -|TALENT_E |Represents npc talent E (unused by the game). | -|TALENT_MAX |Represents maximum number of talents (the id itself isn't valid, it's mostly useful in for loops). | \ No newline at end of file diff --git a/docs/constants/weapon-mode.md b/docs/constants/weapon-mode.md deleted file mode 100644 index 8d3d3d2..0000000 --- a/docs/constants/weapon-mode.md +++ /dev/null @@ -1,13 +0,0 @@ -**Original:** [Weapon mode](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/shared-constants/weapon-mode/) - -|Name |Description | -|-- | --| -|WEAPONMODE_NONE |Represents npc none weapon mode. | -|WEAPONMODE_FIST |Represents npc fist weapon mode. | -|WEAPONMODE_DAG |Represents npc dagger weapon mode. | -|WEAPONMODE_1HS |Represents npc one handed weapon mode (melee weapon). | -|WEAPONMODE_2HS |Represents npc two handed weapon mode (melee weapon). | -|WEAPONMODE_BOW |Represents npc bow weapon mode (ranged weapon). | -|WEAPONMODE_CBOW |Represents npc crossbow weapon mode (ranged weapon). | -|WEAPONMODE_MAG |Represents npc magic weapon mode (spell). | -|WEAPONMODE_MAX |Represents npc maximum weapon mode (not actuall weapon mode, weapon modes count). | \ No newline at end of file diff --git a/docs/constants/weather.md b/docs/constants/weather.md deleted file mode 100644 index cdb672a..0000000 --- a/docs/constants/weather.md +++ /dev/null @@ -1,6 +0,0 @@ -**Original:** [Weather](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/shared-constants/weather/) - -|Name |Description | -|-- | --| -|WEATHER_SNOW |Represents snowing weather type. | -|WEATHER_RAIN |Represents raining weather type. | \ No newline at end of file diff --git a/docs/defaultEvents/anticheat/onPlayerUseCheat.md b/docs/defaultEvents/anticheat/onPlayerUseCheat.md deleted file mode 100644 index 8eb53d3..0000000 --- a/docs/defaultEvents/anticheat/onPlayerUseCheat.md +++ /dev/null @@ -1,21 +0,0 @@ -# `event` onPlayerUseCheat -!!! note - Detecting some type of forbidden tools may take, even a few minutes. Server need time to analyze player data. - -This event is triggered when player uses some of forbidden cheat tools. - -Original: [onPlayerUseCheat](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/anticheat/onPlayerUseCheat/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who used some type of trainer/cheat. - * `int` **type**: the type of used trainer/cheat. For more information see [AntiCheat constants](../../constants/anticheat.md) - -## Usage -```python -import pyg2o - -@pyg2o.event('onPlayerUseCheat') -async def onCheat(playerid, type): - print(f'Player {playerid} used forbidden cheat tool type {type}.') -``` \ No newline at end of file diff --git a/docs/defaultEvents/general/onBan.md b/docs/defaultEvents/general/onBan.md deleted file mode 100644 index 9491ca1..0000000 --- a/docs/defaultEvents/general/onBan.md +++ /dev/null @@ -1,30 +0,0 @@ -# `event` onBan -> [!TIP] This event can be cancelled -!!! note - If serial/mac/ip/name indexes doesn't exist, then the parameters has not been specified when ban was added. - If timestamp doesn't exist, then ban was permanent. - -This event is triggered when new ban is being added. - -Original: [onBan](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/general/onBan/) - -## Parameters -* `dict` **kwargs**: - * `str` **mac**: MAC address of the banned player. - * `str` **ip**: IP address of the banned player. - * `str` **serial**: serial of the banned player. - * `str` **name**: nickname of the banned player. - * `int` **timestamp**: timestamp when the ban expires. - -## Usage -```python -import pyg2o as g2o -from datetime import datetime - -@g2o.event('onBan') -async def onBan(banInfo): - print(f'Player {banInfo['name']} has been banned.') - if ('timestamp' in banInfo): - banExpires = datetime.fromtimestamp(banInfo['timestamp']) - print(f'Ban expires at {banExpires}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/general/onExit.md b/docs/defaultEvents/general/onExit.md deleted file mode 100644 index b3aa8fa..0000000 --- a/docs/defaultEvents/general/onExit.md +++ /dev/null @@ -1,17 +0,0 @@ -# `event` onExit -This event is triggered when server is going to shut down. -You can use it, to save some data before closing up, or do something else. - -Original: [onExit](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/general/onExit/) - -## Parameters -No parameters. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onExit') -async def onExitEvt(): - print('Bye') -``` \ No newline at end of file diff --git a/docs/defaultEvents/general/onInit.md b/docs/defaultEvents/general/onInit.md deleted file mode 100644 index 6c5e878..0000000 --- a/docs/defaultEvents/general/onInit.md +++ /dev/null @@ -1,16 +0,0 @@ -# `event` onInit -This event is triggered when server successfully starts up. - -Original: [onExit](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/general/onInit/) - -## Parameters -No parameters. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onInit') -async def onInitEventHandler(): - print('Called onInit event') -``` \ No newline at end of file diff --git a/docs/defaultEvents/general/onTick.md b/docs/defaultEvents/general/onTick.md deleted file mode 100644 index 5c0c7b7..0000000 --- a/docs/defaultEvents/general/onTick.md +++ /dev/null @@ -1,16 +0,0 @@ -# `event` onTick -This event is triggered in every server main loop iteration. - -Original: [onExit](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/general/onTick/) - -## Parameters -No parameters. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onTick') -async def onTickEvt(): - print('Tock') -``` \ No newline at end of file diff --git a/docs/defaultEvents/general/onTime.md b/docs/defaultEvents/general/onTime.md deleted file mode 100644 index 8e068ea..0000000 --- a/docs/defaultEvents/general/onTime.md +++ /dev/null @@ -1,19 +0,0 @@ -# `event` onTime -This event is triggered each time when game time minute passes. - -Original: [onExit](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/general/onTime/) - -## Parameters -* `dict` **kwargs**: - * `int` **day**: the current ingame day. - * `int` **hour**: the current ingame hour. - * `int` **min**: the current ingame minutes. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onTime') -async def onTickEvt(day, hour, min): - print(f'Current time: Day {day}, Hour {hour}, Min {mins}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/general/onUnban.md b/docs/defaultEvents/general/onUnban.md deleted file mode 100644 index 7ecaecf..0000000 --- a/docs/defaultEvents/general/onUnban.md +++ /dev/null @@ -1,26 +0,0 @@ -# `event` onUnban -> [!TIP] This event can be cancelled -!!! note - If serial/mac/ip/name indexes doesn't exist, then the parameters has not been specified when ban was added. - If timestamp doesn't exist, then ban was permanent. - -This event is triggered when ban with specified info is being removed. - -Original: [onExit](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/general/onUnban/) - -## Parameters -* `dict` **kwargs**: - * `str` **mac**: MAC address of the banned player. - * `str` **ip**: IP address of the banned player. - * `str` **serial**: serial of the banned player. - * `str` **name**: nickname of the banned player. - * `int` **timestamp**: timestamp when the ban expires. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onUnban') -async def onUnban(banInfo): - print(f'Player {banInfo['name']} has been unbanned.') -``` \ No newline at end of file diff --git a/docs/defaultEvents/npc/onNpcActionFinished.md b/docs/defaultEvents/npc/onNpcActionFinished.md deleted file mode 100644 index 9a68b75..0000000 --- a/docs/defaultEvents/npc/onNpcActionFinished.md +++ /dev/null @@ -1,21 +0,0 @@ -# `event` onNpcActionFinished - -This event is triggered when NPC action was finished. - -Original: [onNpcActionFinished](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/npc/onNpcActionFinished/) - -## Parameters -* `dict` **kwargs**: - * `int` **npc_id**: the npc identifier. - * `int` **action_type**: the action type. - * `int` **action_id**: the unique action identifier. - * `bool` **result**: the result of finished action. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onNpcActionFinished') -async def onActionFinished(npc_id, action_type, action_id, result): - print(f'NPC {npc_id} finished action {action_type} with the result {result}.') -``` \ No newline at end of file diff --git a/docs/defaultEvents/npc/onNpcActionSent.md b/docs/defaultEvents/npc/onNpcActionSent.md deleted file mode 100644 index a845011..0000000 --- a/docs/defaultEvents/npc/onNpcActionSent.md +++ /dev/null @@ -1,20 +0,0 @@ -# `event` onNpcActionSent - -This event is triggered when NPC host is changed. Every remote NPC is hosted by one of spawned players in order to get valid position of NPC. - -Original: [onNpcActionSent](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/npc/onNpcActionSent/) - -## Parameters -* `dict` **kwargs**: - * `int` **npc_id**: the npc identifier. - * `int` **current_id**: the action type. - * `int` **previous_id**: the unique action identifier. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onNpcActionSent') -async def onActionSent(npc_id, action_type, action_id): - print(f'NPC {npc_id} sent action {action_id}.') -``` \ No newline at end of file diff --git a/docs/defaultEvents/npc/onNpcChangeHostPlayer.md b/docs/defaultEvents/npc/onNpcChangeHostPlayer.md deleted file mode 100644 index 1a8bb0f..0000000 --- a/docs/defaultEvents/npc/onNpcChangeHostPlayer.md +++ /dev/null @@ -1,20 +0,0 @@ -# `event` onNpcChangeHostPlayer - -This event is triggered when server sends NPC action to streamed players. - -Original: [onNpcChangeHostPlayer](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/npc/onNpcChangeHostPlayer/) - -## Parameters -* `dict` **kwargs**: - * `int` **npc_id**: the id of the remote npc. - * `int` **current_id**: the id of the current host, can be -1 if there is no current host. - * `int` **previous_id**: the id of the previous host, can be -1 if there was no previous host. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onNpcChangeHostPlayer') -async def onChangeHostPlayer(npc_id, previous_id, current_id): - print(f'NPC {npc_id} changed host to {current_id}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/npc/onNpcCreated.md b/docs/defaultEvents/npc/onNpcCreated.md deleted file mode 100644 index 00e1000..0000000 --- a/docs/defaultEvents/npc/onNpcCreated.md +++ /dev/null @@ -1,18 +0,0 @@ -# `event` onNpcCreated - -This event is triggered when remote NPC is created. - -Original: [onNpcCreated](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/npc/onNpcCreated/) - -## Parameters -* `dict` **kwargs**: - * `int` **npc_id**: the id of the newly created remote npc. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onNpcCreated') -async def onNpcCreate(npc_id): - print(f'NPC {npc_id} has been created.') -``` \ No newline at end of file diff --git a/docs/defaultEvents/npc/onNpcDestroyed.md b/docs/defaultEvents/npc/onNpcDestroyed.md deleted file mode 100644 index ce3371e..0000000 --- a/docs/defaultEvents/npc/onNpcDestroyed.md +++ /dev/null @@ -1,18 +0,0 @@ -# `event` onNpcDestroyed - -This event is triggered when remote NPC is created. - -Original: [onNpcDestroyed](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/npc/onNpcDestroyed/) - -## Parameters -* `dict` **kwargs**: - * `int` **npc_id**: the id of the destroyed remote npc. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onNpcDestroyed') -async def onNpcDestroy(npc_id): - print(f'NPC {npc_id} has been destroyed.') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerChangeColor.md b/docs/defaultEvents/player/onPlayerChangeColor.md deleted file mode 100644 index 641838a..0000000 --- a/docs/defaultEvents/player/onPlayerChangeColor.md +++ /dev/null @@ -1,22 +0,0 @@ -# `event` onPlayerChangeColor -This event is triggered when player nickname color was changed for all players. - -Original: [onPlayerChangeColor](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerChangeColor/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player whose nickname color was changed. - * `int` **r**: the amount of red in the nickname color `(0 - 255)`. - * `int` **g**: the amount of green in the nickname color `(0 - 255)`. - * `int` **b**: the amount of blue in the nickname color `(0 - 255)`. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerChangeColor') -async def onChangeColor(playerid, r, g, b): - rgbColor = tuple(r, g, b) - hexColor = '#%02x%02x%02x' % rgbColor - print(f'Player {playerid} changed his color to {hexColor}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerChangeFocus.md b/docs/defaultEvents/player/onPlayerChangeFocus.md deleted file mode 100644 index a9a5ac0..0000000 --- a/docs/defaultEvents/player/onPlayerChangeFocus.md +++ /dev/null @@ -1,22 +0,0 @@ -# `event` onPlayerChangeFocus -This event is triggered when player targets another player. - -Original: [onPlayerChangeFocus](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerChangeFocus/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player which changes the focus. - * `int` **oldFocusId**: the old playerid targeted by the player. Can be `-1` if player wasn't targeting other player. - * `int` **newFocusId**: the new playerid targeted by the player. Can be `-1` if player doesn't target anyone. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerChangeFocus') -async def onChangeFocus(playerid, oldFocusId, newFocusId): - if newFocusId != -1: - print(f'Player {playerid} is looking at {newFocusId}') - else - print(f'Player {playerid} is looking at... who?') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerChangeHealth.md b/docs/defaultEvents/player/onPlayerChangeHealth.md deleted file mode 100644 index f1796bb..0000000 --- a/docs/defaultEvents/player/onPlayerChangeHealth.md +++ /dev/null @@ -1,19 +0,0 @@ -# `event` onPlayerChangeHealth -This event is triggered when player health changes. - -Original: [onPlayerChangeHealth](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerChangeHealth/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player whose health points gets changed. - * `int` **previous**: the previous health points of the player. - * `int` **current**: the new health points of the player. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerChangeHealth') -async def onChangeHealth(playerid, previous, current): - print(f'Player {playerid} changed health: {previous} -> {current}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerChangeMana.md b/docs/defaultEvents/player/onPlayerChangeMana.md deleted file mode 100644 index 17ff417..0000000 --- a/docs/defaultEvents/player/onPlayerChangeMana.md +++ /dev/null @@ -1,19 +0,0 @@ -# `event` onPlayerChangeMana -This event is triggered when player mana changes. - -Original: [onPlayerChangeMana](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerChangeMana/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player mana points gets changed. - * `int` **previous**: the previous mana points of the player. - * `int` **current**: the new mana points of the player. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerChangeMana') -async def onChangeMana(playerid, previous, current): - print(f'Player {playerid} changed mana: {previous} -> {current}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerChangeMaxHealth.md b/docs/defaultEvents/player/onPlayerChangeMaxHealth.md deleted file mode 100644 index 015b984..0000000 --- a/docs/defaultEvents/player/onPlayerChangeMaxHealth.md +++ /dev/null @@ -1,19 +0,0 @@ -# `event` onPlayerChangeMaxHealth -This event is triggered when player maximum health changes. - -Original: [onPlayerChangeMaxHealth](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerChangeMaxHealth/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player whose maxium health points gets changed. - * `int` **previous**: the previous maximum health points of the player. - * `int` **current**: the new maximum health points of the player. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerChangeMaxHealth') -async def onChangeMaxHealth(playerid, previous, current): - print(f'Player {playerid} changed maximum health: {previous} -> {current}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerChangeMaxMana.md b/docs/defaultEvents/player/onPlayerChangeMaxMana.md deleted file mode 100644 index e807125..0000000 --- a/docs/defaultEvents/player/onPlayerChangeMaxMana.md +++ /dev/null @@ -1,19 +0,0 @@ -# `event` onPlayerChangeMaxMana -This event is triggered when player maximum mana changes. - -Original: [onPlayerChangeMaxMana](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerChangeMaxMana/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player maximum mana points gets changed. - * `int` **previous**: the previous maximum mana points of the player. - * `int` **current**: the new maximum mana points of the player. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerChangeMaxMana') -async def onChangeMaxMana(playerid, previous, current): - print(f'Player {playerid} changed maximum mana: {previous} -> {current}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerChangeWeaponMode.md b/docs/defaultEvents/player/onPlayerChangeWeaponMode.md deleted file mode 100644 index f897c93..0000000 --- a/docs/defaultEvents/player/onPlayerChangeWeaponMode.md +++ /dev/null @@ -1,19 +0,0 @@ -# `event` onPlayerChangeWeaponMode -This event is triggered when player changes the weapon mode. - -Original: [onPlayerChangeWeaponMode](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerChangeWeaponMode/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player which changes the weapon mode. - * `int` **previous**: the old weapon mode which was used by the player. For more information see [Weapon mode](../../constants/weapon-mode.md). - * `int` **current**: the new weapon mode in which player is currently using. For more information see [Weapon mode](../../constants/weapon-mode.md). - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerChangeWeaponMode') -async def onChangeWM(playerid, previous, current): - print(f'Player {playerid} changed wm: {previous} -> {current}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerChangeWorld.md b/docs/defaultEvents/player/onPlayerChangeWorld.md deleted file mode 100644 index ca78f54..0000000 --- a/docs/defaultEvents/player/onPlayerChangeWorld.md +++ /dev/null @@ -1,20 +0,0 @@ -# `event` onPlayerChangeWorld -> [!TIP] This event can be cancelled -This event is triggered when player tries to change his currently played world (ZEN). - -Original: [onPlayerChangeWorld](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerChangeWorld/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who tries to change the played world. - * `str` **world**: a filename name of the world. - * `str` **waypoint**: a name of the waypoint that the player will be teleported to. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerChangeWorld') -async def onChangeWorld(playerid, world, waypoint): - print(f'Player {playerid} teleported to {world} at {waypoint}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerCommand.md b/docs/defaultEvents/player/onPlayerCommand.md deleted file mode 100644 index 8950aee..0000000 --- a/docs/defaultEvents/player/onPlayerCommand.md +++ /dev/null @@ -1,24 +0,0 @@ -# `event` onPlayerCommand -This event is triggered when a player uses command on the chat. -Command always begins with forward slash `/`. - -Original: [onPlayerCommand](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerCommand/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who typed the command. - * `str` **command**: used command name on the chat. - * `str` **params**: command parameters divided by space. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerCommand') -async def onCommand(playerid, command, params): - # Spliting and formating params - params = [eval(x) if not x.isalpha() else x for params.split()] - - if command == 'add' and len(params) == 2: - print('Sum is: ', params[0] + params[1]) # /add 5 10 -> output: Sum is 15 -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerDamage.md b/docs/defaultEvents/player/onPlayerDamage.md deleted file mode 100644 index 9119e66..0000000 --- a/docs/defaultEvents/player/onPlayerDamage.md +++ /dev/null @@ -1,20 +0,0 @@ -# `event` onPlayerDamage -> [!TIP] This event can be cancelled -This event is triggered when player receives damage. - -Original: [onPlayerDamage](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerDamage/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who died. - * `int` **killerid**: the id of the killer. If killerid is set to `-1`, it means that there was no killer. In this particular case damage source can be fall from a tall object or scripts. - * `DamageDescription` **description**: a structure containing damage information. For more information see [DamageDescription](../../classes/game/DamageDescription.md) - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerDamage') -async def onDamage(playerid, killerid, description): - print(f'Ouch! Player {playerid} just received {description.damage} damage.') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerDead.md b/docs/defaultEvents/player/onPlayerDead.md deleted file mode 100644 index 6ab1c04..0000000 --- a/docs/defaultEvents/player/onPlayerDead.md +++ /dev/null @@ -1,18 +0,0 @@ -# `event` onPlayerDead -This event is triggered when one player kills another player. - -Original: [onPlayerDead](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerDead/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who died. - * `int` **killerid**: the id of the player who killed other player. If killerid is set to `-1`, it means that there was no killer. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerDead') -async def onDead(playerid, killerid): - print(playerid, 'killed by', killerid) -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerDisconnect.md b/docs/defaultEvents/player/onPlayerDisconnect.md deleted file mode 100644 index 2cb50c3..0000000 --- a/docs/defaultEvents/player/onPlayerDisconnect.md +++ /dev/null @@ -1,18 +0,0 @@ -# `event` onPlayerDisconnect -This event is triggered when a player gets disconnected with the server. - -Original: [onPlayerDisconnect](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerDisconnect/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: he id of the player who disconnected from the server. - * `int` **reason**: the reason why player got disconnected. For more information see [Network](../../constants/network.md). - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerDisconnect') -async def onDC(playerid, reason): - print(f'Player {playerid} has left from the server') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerDropItem.md b/docs/defaultEvents/player/onPlayerDropItem.md deleted file mode 100644 index b933634..0000000 --- a/docs/defaultEvents/player/onPlayerDropItem.md +++ /dev/null @@ -1,19 +0,0 @@ -# `event` onPlayerDropItem -> [!TIP] This event can be cancelled -This event is triggered when player drops an item from his inventory to the ground. - -Original: [onPlayerDropItem](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerDropItem/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who tries to drop the item on the ground. - * `ItemGround` **itemGround**: the ground item object which represents the dropped item by the player. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerDropItem') -async def onDropItem(playerid, itemGround): - print(f'Player {playerid} dropped {itemGround.instance} x{itemGround.amount}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerEnterWorld.md b/docs/defaultEvents/player/onPlayerEnterWorld.md deleted file mode 100644 index 8e4a843..0000000 --- a/docs/defaultEvents/player/onPlayerEnterWorld.md +++ /dev/null @@ -1,18 +0,0 @@ -# `event` onPlayerEnterWorld -This event is triggered when player entered the world (**ZEN**) and was successfully spawned in it. - -Original: [onPlayerEnterWorld](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerEnterWorld/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who entered the world. - * `str` **world**: an filename name of the world. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerEnterWorld') -async def onEnterWorld(playerid, world): - print(f'Player {playerid} entered world {world}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerEquipAmulet.md b/docs/defaultEvents/player/onPlayerEquipAmulet.md deleted file mode 100644 index 527c87c..0000000 --- a/docs/defaultEvents/player/onPlayerEquipAmulet.md +++ /dev/null @@ -1,18 +0,0 @@ -# `event` onPlayerEquipAmulet -This event is triggered when player equips or unequips amulet. When item is unequiped, empty `str` is returned instead. - -Original: [onPlayerEquipAmulet](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerEquipAmulet/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who equips a amulet. - * `str` **instance**: the item instance from Daedalus scripts. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerEquipAmulet') -async def onEquip(playerid, instance): - print(f'Player {playerid} equipped {instance}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerEquipArmor.md b/docs/defaultEvents/player/onPlayerEquipArmor.md deleted file mode 100644 index 29350cc..0000000 --- a/docs/defaultEvents/player/onPlayerEquipArmor.md +++ /dev/null @@ -1,18 +0,0 @@ -# `event` onPlayerEquipAmulet -This event is triggered when player equips or unequips armor. When item is unequiped, empty `str` is returned instead. - -Original: [onPlayerEquipArmor](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerEquipArmor/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who equips an armor. - * `str` **instance**: the item instance from Daedalus scripts. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerEquipArmor') -async def onEquip(playerid, instance): - print(f'Player {playerid} equipped {instance}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerEquipBelt.md b/docs/defaultEvents/player/onPlayerEquipBelt.md deleted file mode 100644 index ca41ee8..0000000 --- a/docs/defaultEvents/player/onPlayerEquipBelt.md +++ /dev/null @@ -1,18 +0,0 @@ -# `event` onPlayerEquipBelt -This event is triggered when player equips or unequips belt. When item is unequiped, empty `str` is returned instead. - -Original: [onPlayerEquipBelt](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerEquipBelt/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who equips a belt. - * `str` **instance**: the item instance from Daedalus scripts. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerEquipBelt') -async def onEquip(playerid, instance): - print(f'Player {playerid} equipped {instance}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerEquipHandItem.md b/docs/defaultEvents/player/onPlayerEquipHandItem.md deleted file mode 100644 index aefa5c0..0000000 --- a/docs/defaultEvents/player/onPlayerEquipHandItem.md +++ /dev/null @@ -1,19 +0,0 @@ -# `event` onPlayerEquipHandItem -This event is triggered when game adds item to player hand, e.g: when player opens or consumes any item. When item is removed from hand, empty `str` is returned instead. - -Original: [onPlayerEquipHandItem](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerEquipHandItem/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who gets an item to his hand. - * `int` **hand**: the id of the hand in which player holds item. For more information see [Hand](../../constants/hand.md). - * `str` **instance**: the item instance from Daedalus scripts. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerEquipHandItem') -async def onEquip(playerid, hand, instance): - print(f'Player {playerid} equipped {instance}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerEquipHelmet.md b/docs/defaultEvents/player/onPlayerEquipHelmet.md deleted file mode 100644 index 5b16101..0000000 --- a/docs/defaultEvents/player/onPlayerEquipHelmet.md +++ /dev/null @@ -1,18 +0,0 @@ -# `event` onPlayerEquipHelmet -This event is triggered when player equips or unequips helmet. When item is unequiped, empty `str` is returned instead. - -Original: [onPlayerEquipHelmet](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerEquipHelmet/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who equips a helmet. - * `str` **instance**: the item instance from Daedalus scripts. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerEquipHelmet') -async def onEquip(playerid, instance): - print(f'Player {playerid} equipped {instance}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerEquipMeleeWeapon.md b/docs/defaultEvents/player/onPlayerEquipMeleeWeapon.md deleted file mode 100644 index fe0e556..0000000 --- a/docs/defaultEvents/player/onPlayerEquipMeleeWeapon.md +++ /dev/null @@ -1,18 +0,0 @@ -# `event` onPlayerEquipMeleeWeapon -This event is triggered when player equips or unequips melee weapon. When item is unequiped, empty `str` is returned instead. - -Original: [onPlayerEquipMeleeWeapon](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerEquipMeleeWeapon/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who equips an melee weapon. - * `str` **instance**: the item instance from Daedalus scripts. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerEquipMeleeWeapon') -async def onEquip(playerid, instance): - print(f'Player {playerid} equipped {instance}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerEquipRangedWeapon.md b/docs/defaultEvents/player/onPlayerEquipRangedWeapon.md deleted file mode 100644 index 9b67d70..0000000 --- a/docs/defaultEvents/player/onPlayerEquipRangedWeapon.md +++ /dev/null @@ -1,18 +0,0 @@ -# `event` onPlayerEquipRangedWeapon -This event is triggered when player equips or unequips ranged weapon. When item is unequiped, empty `str` is returned instead. - -Original: [onPlayerEquipRangedWeapon](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerEquipRangedWeapon/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who equips an ranged weapon. - * `str` **instance**: the item instance from Daedalus scripts. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerEquipRangedWeapon') -async def onEquip(playerid, instance): - print(f'Player {playerid} equipped {instance}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerEquipRing.md b/docs/defaultEvents/player/onPlayerEquipRing.md deleted file mode 100644 index cb91174..0000000 --- a/docs/defaultEvents/player/onPlayerEquipRing.md +++ /dev/null @@ -1,19 +0,0 @@ -# `event` onPlayerEquipRing -This event is triggered when player equips or unequips ring. When item is unequiped, empty `str` is returned instead. - -Original: [onPlayerEquipRing](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerEquipRing/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who equips a ring. - * `int` **hand**: the hand id that the player is putting the ring on. For more information see [Hand](../../constants/hand.md). - * `str` **instance**: the item instance from Daedalus scripts. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerEquipRing') -async def onEquip(playerid, hand, instance): - print(f'Player {playerid} equipped {instance}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerEquipShield.md b/docs/defaultEvents/player/onPlayerEquipShield.md deleted file mode 100644 index bf6245f..0000000 --- a/docs/defaultEvents/player/onPlayerEquipShield.md +++ /dev/null @@ -1,18 +0,0 @@ -# `event` onPlayerEquipShield -This event is triggered when player equips or unequips shield. When item is unequiped, empty `str` is returned instead. - -Original: [onPlayerEquipShield](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerEquipShield/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who equips a shield. - * `str` **instance**: the item instance from Daedalus scripts. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerEquipShield') -async def onEquip(playerid, instance): - print(f'Player {playerid} equipped {instance}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerEquipSpell.md b/docs/defaultEvents/player/onPlayerEquipSpell.md deleted file mode 100644 index c90de19..0000000 --- a/docs/defaultEvents/player/onPlayerEquipSpell.md +++ /dev/null @@ -1,19 +0,0 @@ -# `event` onPlayerEquipSpell -This event is triggered when player equips or unequips scroll or rune. When item is unequiped, empty `str` is returned instead. - -Original: [onPlayerEquipSpell](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerEquipSpell/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who equips a spell. - * `int` **slotId**: the slot id that the player puts the spell on in range `<0, 6>`. - * `str` **instance**: the item instance from Daedalus scripts. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerSpell') -async def onEquip(playerid, slotId, instance): - print(f'Player {playerid} equipped {instance}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerJoin.md b/docs/defaultEvents/player/onPlayerJoin.md deleted file mode 100644 index 630702d..0000000 --- a/docs/defaultEvents/player/onPlayerJoin.md +++ /dev/null @@ -1,17 +0,0 @@ -# `event` onPlayerJoin -This event is triggered when a player successfully joined the server. - -Original: [onPlayerJoin](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerJoin/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who joined the server. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerJoin') -async def onJoin(playerid): - print(pyg2o.getPlayerName(playerid), ' joined to the server.') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerMessage.md b/docs/defaultEvents/player/onPlayerMessage.md deleted file mode 100644 index 63a4792..0000000 --- a/docs/defaultEvents/player/onPlayerMessage.md +++ /dev/null @@ -1,18 +0,0 @@ -# `event` onPlayerMessage -This event is triggered when a player types the message on the chat. - -Original: [onPlayerMessage](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerMessage/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who typed the message. - * `str` **message**: the message typed by the player. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerMessage') -async def onMessage(playerid, message): - print(pyg2o.getPlayerName(playerid), ' says ', message) -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerMobInteract.md b/docs/defaultEvents/player/onPlayerMobInteract.md deleted file mode 100644 index c7cb3d7..0000000 --- a/docs/defaultEvents/player/onPlayerMobInteract.md +++ /dev/null @@ -1,19 +0,0 @@ -# `event` onPlayerMobInteract -This event is triggered when player interacts with any kind of mob object in the world. In Gothic, mobs are special vobs on the map, that hero can interact with. For example bed, door, chest etc. - -Original: [onPlayerMobInteract](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerMobInteract/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: represents previous state of mob. If value is `1`, then mob was used, in any other case value is `0`. - * `int` **from**: represents current state of mob. If value is `1`, then mob is used, in any other case value is `0`. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerMobInteract') -async def onMobInteract(playerid, from, to): - if to == 1: - print(playerid, 'started interaction with the MOB') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerRespawn.md b/docs/defaultEvents/player/onPlayerRespawn.md deleted file mode 100644 index 8ad5c9d..0000000 --- a/docs/defaultEvents/player/onPlayerRespawn.md +++ /dev/null @@ -1,17 +0,0 @@ -# `event` onPlayerRespawn -This event is triggered when a player respawns after death. - -Original: [onPlayerRespawn](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerRespawn/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who respawned after death. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerRespawn') -async def onRespawn(playerid): - print(playerid, 'respawned.') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerShoot.md b/docs/defaultEvents/player/onPlayerShoot.md deleted file mode 100644 index 6a78ca7..0000000 --- a/docs/defaultEvents/player/onPlayerShoot.md +++ /dev/null @@ -1,18 +0,0 @@ -# `event` onPlayerShoot -This event is triggered when player shoot using ranged weapon. - -Original: [onPlayerShoot](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerShoot/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who just shot. - * `str | null` **munition**: the item instance from Daedalus scripts. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerShoot') -async def onShoot(playerid, munition): - print(playerid, 'made a shot.') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerSpellCast.md b/docs/defaultEvents/player/onPlayerSpellCast.md deleted file mode 100644 index 8458d6f..0000000 --- a/docs/defaultEvents/player/onPlayerSpellCast.md +++ /dev/null @@ -1,23 +0,0 @@ -# `event` onPlayerSpellCast -> [!TIP] This event can be cancelled -!!! note - Right now transformation and summon spells are not supported, despite this event will be triggered for them. Cancelling this event willl prevent this action to be synced to other players. - -This event is triggered when player is casting some spell. - -Original: [onPlayerSpellCast](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerSpellCast/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who casts the spell. - * `str | null` **instance**: the item instance from Daedalus scripts. - * `int` **spellLevel**: the level of charged spell. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerSpellCast') -async def onSpellCast(playerid, instance, spellLevel): - print(playerid, 'casted a spell', instance) -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerSpellSetup.md b/docs/defaultEvents/player/onPlayerSpellSetup.md deleted file mode 100644 index abb500b..0000000 --- a/docs/defaultEvents/player/onPlayerSpellSetup.md +++ /dev/null @@ -1,18 +0,0 @@ -# `event` onPlayerSpellSetup -This event is triggered when player prepares the spell. - -Original: [onPlayerSpellSetup](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerSpellSetup/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who prepares the spell. - * `str | null` **instance**: the item instance from Daedalus scripts. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerSpellSetup') -async def onSpellSetup(playerid, instance): - print(playerid, 'setuped a spell', instance) -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerTakeItem.md b/docs/defaultEvents/player/onPlayerTakeItem.md deleted file mode 100644 index cd6addb..0000000 --- a/docs/defaultEvents/player/onPlayerTakeItem.md +++ /dev/null @@ -1,22 +0,0 @@ -# `event` onPlayerTakeItem -> [!TIP] This event can be cancelled -!!! note - Even if this event is triggered it doesn't mean, that player will get item to his inventory. It only means, that the player tried to get the item from the ground. Server is the last decide if the item can be taken from the ground. Canceling this event will prevent the item to be taken from the ground. - -This event is triggered when player takes an item from the ground. - -Original: [onPlayerTakeItem](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerTakeItem/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who tries to take the ground item. - * `ItemGround` **itemGround**: the ground item object which player tried to to take. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerTakeItem') -async def onTakeItem(playerid, itemGround): - print(f'Player {playerid} took {itemGround.instance} x{itemGround.amount}') -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerTeleport.md b/docs/defaultEvents/player/onPlayerTeleport.md deleted file mode 100644 index 3ae38fe..0000000 --- a/docs/defaultEvents/player/onPlayerTeleport.md +++ /dev/null @@ -1,18 +0,0 @@ -# `event` onPlayerTeleport -This event is triggered when player gets teleported by the game to the specified vob. - -Original: [onPlayerTeleport](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerTeleport/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who gets teleported by the game. - * `str` **vobName**: represents the name of the vob that player gets teleported to. - -## Usage -```python -import pyg2o as g2o - -@g2o.event('onPlayerTeleport') -async def onTeleport(playerid, vobName): - print(playerid, 'teleported to', vobName) -``` \ No newline at end of file diff --git a/docs/defaultEvents/player/onPlayerToggleFaceAni.md b/docs/defaultEvents/player/onPlayerToggleFaceAni.md deleted file mode 100644 index 51c472b..0000000 --- a/docs/defaultEvents/player/onPlayerToggleFaceAni.md +++ /dev/null @@ -1,20 +0,0 @@ -# `event` onPlayerTeleport -This event is triggered when player face animation is toggled (played or stopped), due to eating or other activities. - -Original: [onPlayerToggleFaceAni](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-events/player/onPlayerToggleFaceAni/) - -## Parameters -* `dict` **kwargs**: - * `int` **playerid**: the id of the player who gets teleported by the game. - * `str` **aniName**: the face animation name. - * `bool` **toggle**: `true` when player is started playing face animation, otherwise `false`. - -## Usage -```python -import g2o - -@g2o.event('onPlayerToggleFaceAni') -async def onToggleFA(playerid, aniName, toggle): - if toggle: - print(playerid, 'started face ani', aniName) -``` \ No newline at end of file diff --git a/docs/functions/chat/sendMessageToAll.md b/docs/functions/chat/sendMessageToAll.md deleted file mode 100644 index 7abba91..0000000 --- a/docs/functions/chat/sendMessageToAll.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` sendMessageToAll -::: src.pyg2o.functions.chat.sendMessageToAll \ No newline at end of file diff --git a/docs/functions/chat/sendMessageToPlayer.md b/docs/functions/chat/sendMessageToPlayer.md deleted file mode 100644 index a685748..0000000 --- a/docs/functions/chat/sendMessageToPlayer.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` sendMessageToPlayer -::: src.pyg2o.functions.chat.sendMessageToPlayer \ No newline at end of file diff --git a/docs/functions/chat/sendPlayerMessageToAll.md b/docs/functions/chat/sendPlayerMessageToAll.md deleted file mode 100644 index a5ae015..0000000 --- a/docs/functions/chat/sendPlayerMessageToAll.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` sendPlayerMessageToAll -::: src.pyg2o.functions.chat.sendPlayerMessageToAll \ No newline at end of file diff --git a/docs/functions/chat/sendPlayerMessageToPlayer.md b/docs/functions/chat/sendPlayerMessageToPlayer.md deleted file mode 100644 index 1c51460..0000000 --- a/docs/functions/chat/sendPlayerMessageToPlayer.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` sendPlayerMessageToPlayer -::: src.pyg2o.functions.chat.sendPlayerMessageToPlayer \ No newline at end of file diff --git a/docs/functions/event/addEvent.md b/docs/functions/event/addEvent.md deleted file mode 100644 index 2be33d0..0000000 --- a/docs/functions/event/addEvent.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` addEvent -::: src.pyg2o.functions.event.addEvent \ No newline at end of file diff --git a/docs/functions/event/callEvent.md b/docs/functions/event/callEvent.md deleted file mode 100644 index ce90251..0000000 --- a/docs/functions/event/callEvent.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` callEvent -::: src.pyg2o.functions.event.callEvent \ No newline at end of file diff --git a/docs/functions/event/event.md b/docs/functions/event/event.md deleted file mode 100644 index d2abff5..0000000 --- a/docs/functions/event/event.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` event -::: src.pyg2o.functions.event.event \ No newline at end of file diff --git a/docs/functions/event/removeEvent.md b/docs/functions/event/removeEvent.md deleted file mode 100644 index 2a23e87..0000000 --- a/docs/functions/event/removeEvent.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` removeEvent -::: src.pyg2o.functions.event.removeEvent \ No newline at end of file diff --git a/docs/functions/event/removeEventHandler.md b/docs/functions/event/removeEventHandler.md deleted file mode 100644 index 2af917a..0000000 --- a/docs/functions/event/removeEventHandler.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` removeEventHandler -::: src.pyg2o.functions.event.removeEventHandler \ No newline at end of file diff --git a/docs/functions/event/toggleEvent.md b/docs/functions/event/toggleEvent.md deleted file mode 100644 index d734e0f..0000000 --- a/docs/functions/event/toggleEvent.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` toggleEvent -::: src.pyg2o.functions.event.toggleEvent \ No newline at end of file diff --git a/docs/functions/game/exit.md b/docs/functions/game/exit.md deleted file mode 100644 index 8c20c50..0000000 --- a/docs/functions/game/exit.md +++ /dev/null @@ -1,4 +0,0 @@ -# `function` exit -::: src.pyg2o.functions.game.exit - options: - show_source: true \ No newline at end of file diff --git a/docs/functions/game/getDayLength.md b/docs/functions/game/getDayLength.md deleted file mode 100644 index 00c8ad6..0000000 --- a/docs/functions/game/getDayLength.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` getDayLength -::: src.pyg2o.functions.game.getDayLength \ No newline at end of file diff --git a/docs/functions/game/getHostname.md b/docs/functions/game/getHostname.md deleted file mode 100644 index 260f6a4..0000000 --- a/docs/functions/game/getHostname.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` getHostname -::: src.pyg2o.functions.game.getHostname \ No newline at end of file diff --git a/docs/functions/game/getMaxSlots.md b/docs/functions/game/getMaxSlots.md deleted file mode 100644 index b5c1b46..0000000 --- a/docs/functions/game/getMaxSlots.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` getMaxSlots -::: src.pyg2o.functions.game.getMaxSlots \ No newline at end of file diff --git a/docs/functions/game/getPlayersCount.md b/docs/functions/game/getPlayersCount.md deleted file mode 100644 index a7e193b..0000000 --- a/docs/functions/game/getPlayersCount.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` getPlayersCount -::: src.pyg2o.functions.game.getPlayersCount \ No newline at end of file diff --git a/docs/functions/game/getServerDescription.md b/docs/functions/game/getServerDescription.md deleted file mode 100644 index c2a91b7..0000000 --- a/docs/functions/game/getServerDescription.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` getServerDescription -::: src.pyg2o.functions.game.getServerDescription \ No newline at end of file diff --git a/docs/functions/game/getServerWorld.md b/docs/functions/game/getServerWorld.md deleted file mode 100644 index 20fcc7d..0000000 --- a/docs/functions/game/getServerWorld.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` getServerWorld -::: src.pyg2o.functions.game.getServerWorld \ No newline at end of file diff --git a/docs/functions/game/getTime.md b/docs/functions/game/getTime.md deleted file mode 100644 index c4e13c6..0000000 --- a/docs/functions/game/getTime.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` getTime -::: src.pyg2o.functions.game.getTime \ No newline at end of file diff --git a/docs/functions/game/serverLog.md b/docs/functions/game/serverLog.md deleted file mode 100644 index 99a9903..0000000 --- a/docs/functions/game/serverLog.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` serverLog -::: src.pyg2o.functions.game.serverLog \ No newline at end of file diff --git a/docs/functions/game/setDayLength.md b/docs/functions/game/setDayLength.md deleted file mode 100644 index 18cc6a4..0000000 --- a/docs/functions/game/setDayLength.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` setDayLength -::: src.pyg2o.functions.game.setDayLength \ No newline at end of file diff --git a/docs/functions/game/setServerDescription.md b/docs/functions/game/setServerDescription.md deleted file mode 100644 index 4613d6f..0000000 --- a/docs/functions/game/setServerDescription.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` setServerDescription -::: src.pyg2o.functions.game.setServerDescription \ No newline at end of file diff --git a/docs/functions/game/setServerWorld.md b/docs/functions/game/setServerWorld.md deleted file mode 100644 index 60ecc11..0000000 --- a/docs/functions/game/setServerWorld.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` setServerWorld -::: src.pyg2o.functions.game.setServerWorld \ No newline at end of file diff --git a/docs/functions/game/setTime.md b/docs/functions/game/setTime.md deleted file mode 100644 index 0907d93..0000000 --- a/docs/functions/game/setTime.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` setTime -::: src.pyg2o.functions.game.setTime \ No newline at end of file diff --git a/docs/functions/npc/clearNpcActions.md b/docs/functions/npc/clearNpcActions.md deleted file mode 100644 index 4224d04..0000000 --- a/docs/functions/npc/clearNpcActions.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` clearNpcActions -::: src.pyg2o.functions.npc.clearNpcActions \ No newline at end of file diff --git a/docs/functions/npc/createNpc.md b/docs/functions/npc/createNpc.md deleted file mode 100644 index eef6e58..0000000 --- a/docs/functions/npc/createNpc.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` createNpc -::: src.pyg2o.functions.npc.createNpc \ No newline at end of file diff --git a/docs/functions/npc/destroyNpc.md b/docs/functions/npc/destroyNpc.md deleted file mode 100644 index 105d618..0000000 --- a/docs/functions/npc/destroyNpc.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` destroyNpc -::: src.pyg2o.functions.npc.destroyNpc \ No newline at end of file diff --git a/docs/functions/npc/getNpcAction.md b/docs/functions/npc/getNpcAction.md deleted file mode 100644 index 3271f5b..0000000 --- a/docs/functions/npc/getNpcAction.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` getNpcAction -::: src.pyg2o.functions.npc.getNpcAction \ No newline at end of file diff --git a/docs/functions/npc/getNpcActions.md b/docs/functions/npc/getNpcActions.md deleted file mode 100644 index 81480ab..0000000 --- a/docs/functions/npc/getNpcActions.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` getNpcActions -::: src.pyg2o.functions.npc.getNpcActions \ No newline at end of file diff --git a/docs/functions/npc/getNpcActionsCount.md b/docs/functions/npc/getNpcActionsCount.md deleted file mode 100644 index 9f23287..0000000 --- a/docs/functions/npc/getNpcActionsCount.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` getNpcActionsCount -::: src.pyg2o.functions.npc.getNpcActionsCount \ No newline at end of file diff --git a/docs/functions/npc/getNpcHostPlayer.md b/docs/functions/npc/getNpcHostPlayer.md deleted file mode 100644 index b4c5d84..0000000 --- a/docs/functions/npc/getNpcHostPlayer.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` getNpcHostPlayer -::: src.pyg2o.functions.npc.getNpcHostPlayer \ No newline at end of file diff --git a/docs/functions/npc/getNpcLastActionId.md b/docs/functions/npc/getNpcLastActionId.md deleted file mode 100644 index 0ab0cde..0000000 --- a/docs/functions/npc/getNpcLastActionId.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` getNpcLastActionId -::: src.pyg2o.functions.npc.getNpcLastActionId \ No newline at end of file diff --git a/docs/functions/npc/isNpc.md b/docs/functions/npc/isNpc.md deleted file mode 100644 index 34939e2..0000000 --- a/docs/functions/npc/isNpc.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` isNpc -::: src.pyg2o.functions.npc.isNpc \ No newline at end of file diff --git a/docs/functions/npc/isNpcActionFinished.md b/docs/functions/npc/isNpcActionFinished.md deleted file mode 100644 index c8f43b9..0000000 --- a/docs/functions/npc/isNpcActionFinished.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` isNpcActionFinished -::: src.pyg2o.functions.npc.isNpcActionFinished \ No newline at end of file diff --git a/docs/functions/npc/npcAttackMelee.md b/docs/functions/npc/npcAttackMelee.md deleted file mode 100644 index 2cb52df..0000000 --- a/docs/functions/npc/npcAttackMelee.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` npcAttackMelee -::: src.pyg2o.functions.npc.npcAttackMelee \ No newline at end of file diff --git a/docs/functions/npc/npcAttackRanged.md b/docs/functions/npc/npcAttackRanged.md deleted file mode 100644 index b3b751d..0000000 --- a/docs/functions/npc/npcAttackRanged.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` npcAttackRanged -::: src.pyg2o.functions.npc.npcAttackRanged \ No newline at end of file diff --git a/docs/functions/npc/npcSpellCast.md b/docs/functions/npc/npcSpellCast.md deleted file mode 100644 index 2944f58..0000000 --- a/docs/functions/npc/npcSpellCast.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` npcSpellCast -::: src.pyg2o.functions.npc.npcSpellCast \ No newline at end of file diff --git a/docs/functions/npc/npcUseClosestMob.md b/docs/functions/npc/npcUseClosestMob.md deleted file mode 100644 index 7bb175a..0000000 --- a/docs/functions/npc/npcUseClosestMob.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` npcUseClosestMob -::: src.pyg2o.functions.npc.npcUseClosestMob \ No newline at end of file diff --git a/docs/functions/npc/setNpcHostPlayer.md b/docs/functions/npc/setNpcHostPlayer.md deleted file mode 100644 index 038a3ed..0000000 --- a/docs/functions/npc/setNpcHostPlayer.md +++ /dev/null @@ -1,2 +0,0 @@ -# `function` setNpcHostPlayer -::: src.pyg2o.functions.npc.setNpcHostPlayer \ No newline at end of file diff --git a/docs/functions/player/addBan.md b/docs/functions/player/addBan.md deleted file mode 100644 index 47b8910..0000000 --- a/docs/functions/player/addBan.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` addBan -::: src.pyg2o.functions.player.addBan \ No newline at end of file diff --git a/docs/functions/player/applyPlayerOverlay.md b/docs/functions/player/applyPlayerOverlay.md deleted file mode 100644 index 48a6524..0000000 --- a/docs/functions/player/applyPlayerOverlay.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` applyPlayerOverlay -::: src.pyg2o.functions.player.applyPlayerOverlay \ No newline at end of file diff --git a/docs/functions/player/ban.md b/docs/functions/player/ban.md deleted file mode 100644 index 30aafa1..0000000 --- a/docs/functions/player/ban.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` ban -::: src.pyg2o.functions.player.ban \ No newline at end of file diff --git a/docs/functions/player/drawWeapon.md b/docs/functions/player/drawWeapon.md deleted file mode 100644 index 9b0cd5c..0000000 --- a/docs/functions/player/drawWeapon.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` drawWeapon -::: src.pyg2o.functions.player.drawWeapon \ No newline at end of file diff --git a/docs/functions/player/equipItem.md b/docs/functions/player/equipItem.md deleted file mode 100644 index 800a592..0000000 --- a/docs/functions/player/equipItem.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` equipItem -::: src.pyg2o.functions.player.equipItem \ No newline at end of file diff --git a/docs/functions/player/getPlayerAmulet.md b/docs/functions/player/getPlayerAmulet.md deleted file mode 100644 index 701e7dd..0000000 --- a/docs/functions/player/getPlayerAmulet.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerAmulet -::: src.pyg2o.functions.player.getPlayerAmulet \ No newline at end of file diff --git a/docs/functions/player/getPlayerAngle.md b/docs/functions/player/getPlayerAngle.md deleted file mode 100644 index 97011eb..0000000 --- a/docs/functions/player/getPlayerAngle.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerAngle -::: src.pyg2o.functions.player.getPlayerAngle \ No newline at end of file diff --git a/docs/functions/player/getPlayerAni.md b/docs/functions/player/getPlayerAni.md deleted file mode 100644 index 2354d68..0000000 --- a/docs/functions/player/getPlayerAni.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerAni -::: src.pyg2o.functions.player.getPlayerAni \ No newline at end of file diff --git a/docs/functions/player/getPlayerArmor.md b/docs/functions/player/getPlayerArmor.md deleted file mode 100644 index 1e9de82..0000000 --- a/docs/functions/player/getPlayerArmor.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerArmor -::: src.pyg2o.functions.player.getPlayerArmor \ No newline at end of file diff --git a/docs/functions/player/getPlayerAtVector.md b/docs/functions/player/getPlayerAtVector.md deleted file mode 100644 index 3b6e191..0000000 --- a/docs/functions/player/getPlayerAtVector.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerAtVector -::: src.pyg2o.functions.player.getPlayerAtVector \ No newline at end of file diff --git a/docs/functions/player/getPlayerBelt.md b/docs/functions/player/getPlayerBelt.md deleted file mode 100644 index 76acbd1..0000000 --- a/docs/functions/player/getPlayerBelt.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerBelt -::: src.pyg2o.functions.player.getPlayerBelt \ No newline at end of file diff --git a/docs/functions/player/getPlayerCameraPosition.md b/docs/functions/player/getPlayerCameraPosition.md deleted file mode 100644 index 42e8632..0000000 --- a/docs/functions/player/getPlayerCameraPosition.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerCameraPosition -::: src.pyg2o.functions.player.getPlayerCameraPosition \ No newline at end of file diff --git a/docs/functions/player/getPlayerCollision.md b/docs/functions/player/getPlayerCollision.md deleted file mode 100644 index 6dd79a7..0000000 --- a/docs/functions/player/getPlayerCollision.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerCollision -::: src.pyg2o.functions.player.getPlayerCollision \ No newline at end of file diff --git a/docs/functions/player/getPlayerColor.md b/docs/functions/player/getPlayerColor.md deleted file mode 100644 index d86b523..0000000 --- a/docs/functions/player/getPlayerColor.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerColor -::: src.pyg2o.functions.player.getPlayerColor \ No newline at end of file diff --git a/docs/functions/player/getPlayerContext.md b/docs/functions/player/getPlayerContext.md deleted file mode 100644 index 39a6d1c..0000000 --- a/docs/functions/player/getPlayerContext.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerContext -::: src.pyg2o.functions.player.getPlayerContext \ No newline at end of file diff --git a/docs/functions/player/getPlayerDexterity.md b/docs/functions/player/getPlayerDexterity.md deleted file mode 100644 index 40d9471..0000000 --- a/docs/functions/player/getPlayerDexterity.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerDexterity -::: src.pyg2o.functions.player.getPlayerDexterity \ No newline at end of file diff --git a/docs/functions/player/getPlayerFaceAnis.md b/docs/functions/player/getPlayerFaceAnis.md deleted file mode 100644 index df0295b..0000000 --- a/docs/functions/player/getPlayerFaceAnis.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerFaceAnis -::: src.pyg2o.functions.player.getPlayerFaceAnis \ No newline at end of file diff --git a/docs/functions/player/getPlayerFatness.md b/docs/functions/player/getPlayerFatness.md deleted file mode 100644 index 6b2f95e..0000000 --- a/docs/functions/player/getPlayerFatness.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerFatness -::: src.pyg2o.functions.player.getPlayerFatness \ No newline at end of file diff --git a/docs/functions/player/getPlayerFocus.md b/docs/functions/player/getPlayerFocus.md deleted file mode 100644 index 27d572a..0000000 --- a/docs/functions/player/getPlayerFocus.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerFocus -::: src.pyg2o.functions.player.getPlayerFocus \ No newline at end of file diff --git a/docs/functions/player/getPlayerHealth.md b/docs/functions/player/getPlayerHealth.md deleted file mode 100644 index 340b6c0..0000000 --- a/docs/functions/player/getPlayerHealth.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerHealth -::: src.pyg2o.functions.player.getPlayerHealth \ No newline at end of file diff --git a/docs/functions/player/getPlayerHelmet.md b/docs/functions/player/getPlayerHelmet.md deleted file mode 100644 index afcfd9e..0000000 --- a/docs/functions/player/getPlayerHelmet.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerHelmet -::: src.pyg2o.functions.player.getPlayerHelmet \ No newline at end of file diff --git a/docs/functions/player/getPlayerIP.md b/docs/functions/player/getPlayerIP.md deleted file mode 100644 index 9b7e7d8..0000000 --- a/docs/functions/player/getPlayerIP.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerIP -::: src.pyg2o.functions.player.getPlayerIP \ No newline at end of file diff --git a/docs/functions/player/getPlayerInstance.md b/docs/functions/player/getPlayerInstance.md deleted file mode 100644 index a6a65ad..0000000 --- a/docs/functions/player/getPlayerInstance.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerInstance -::: src.pyg2o.functions.player.getPlayerInstance \ No newline at end of file diff --git a/docs/functions/player/getPlayerInvisible.md b/docs/functions/player/getPlayerInvisible.md deleted file mode 100644 index 6743e74..0000000 --- a/docs/functions/player/getPlayerInvisible.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerInvisible -::: src.pyg2o.functions.player.getPlayerInvisible \ No newline at end of file diff --git a/docs/functions/player/getPlayerMacAddr.md b/docs/functions/player/getPlayerMacAddr.md deleted file mode 100644 index b7d5f40..0000000 --- a/docs/functions/player/getPlayerMacAddr.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerMacAddr -::: src.pyg2o.functions.player.getPlayerMacAddr \ No newline at end of file diff --git a/docs/functions/player/getPlayerMana.md b/docs/functions/player/getPlayerMana.md deleted file mode 100644 index 905d716..0000000 --- a/docs/functions/player/getPlayerMana.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerMana -::: src.pyg2o.functions.player.getPlayerMana \ No newline at end of file diff --git a/docs/functions/player/getPlayerMaxHealth.md b/docs/functions/player/getPlayerMaxHealth.md deleted file mode 100644 index 05bdae7..0000000 --- a/docs/functions/player/getPlayerMaxHealth.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerMaxHealth -::: src.pyg2o.functions.player.getPlayerMaxHealth \ No newline at end of file diff --git a/docs/functions/player/getPlayerMaxMana.md b/docs/functions/player/getPlayerMaxMana.md deleted file mode 100644 index 13626ad..0000000 --- a/docs/functions/player/getPlayerMaxMana.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerMaxMana -::: src.pyg2o.functions.player.getPlayerMaxMana \ No newline at end of file diff --git a/docs/functions/player/getPlayerMeleeWeapon.md b/docs/functions/player/getPlayerMeleeWeapon.md deleted file mode 100644 index a8da63d..0000000 --- a/docs/functions/player/getPlayerMeleeWeapon.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerMeleeWeapon -::: src.pyg2o.functions.player.getPlayerMeleeWeapon \ No newline at end of file diff --git a/docs/functions/player/getPlayerName.md b/docs/functions/player/getPlayerName.md deleted file mode 100644 index f02c11b..0000000 --- a/docs/functions/player/getPlayerName.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerName -::: src.pyg2o.functions.player.getPlayerName \ No newline at end of file diff --git a/docs/functions/player/getPlayerPing.md b/docs/functions/player/getPlayerPing.md deleted file mode 100644 index fddcd4a..0000000 --- a/docs/functions/player/getPlayerPing.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerPing -::: src.pyg2o.functions.player.getPlayerPing \ No newline at end of file diff --git a/docs/functions/player/getPlayerPosition.md b/docs/functions/player/getPlayerPosition.md deleted file mode 100644 index bc6fd3f..0000000 --- a/docs/functions/player/getPlayerPosition.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerPosition -::: src.pyg2o.functions.player.getPlayerPosition \ No newline at end of file diff --git a/docs/functions/player/getPlayerRangedWeapon.md b/docs/functions/player/getPlayerRangedWeapon.md deleted file mode 100644 index f8657af..0000000 --- a/docs/functions/player/getPlayerRangedWeapon.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerRangedWeapon -::: src.pyg2o.functions.player.getPlayerRangedWeapon \ No newline at end of file diff --git a/docs/functions/player/getPlayerRespawnTime.md b/docs/functions/player/getPlayerRespawnTime.md deleted file mode 100644 index 701339a..0000000 --- a/docs/functions/player/getPlayerRespawnTime.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerRespawnTime -::: src.pyg2o.functions.player.getPlayerRespawnTime \ No newline at end of file diff --git a/docs/functions/player/getPlayerRing.md b/docs/functions/player/getPlayerRing.md deleted file mode 100644 index 5ada2c3..0000000 --- a/docs/functions/player/getPlayerRing.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerRing -::: src.pyg2o.functions.player.getPlayerRing \ No newline at end of file diff --git a/docs/functions/player/getPlayerScale.md b/docs/functions/player/getPlayerScale.md deleted file mode 100644 index 688cdde..0000000 --- a/docs/functions/player/getPlayerScale.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerScale -::: src.pyg2o.functions.player.getPlayerScale \ No newline at end of file diff --git a/docs/functions/player/getPlayerSerial.md b/docs/functions/player/getPlayerSerial.md deleted file mode 100644 index 70fe4cb..0000000 --- a/docs/functions/player/getPlayerSerial.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerSerial -::: src.pyg2o.functions.player.getPlayerSerial \ No newline at end of file diff --git a/docs/functions/player/getPlayerShield.md b/docs/functions/player/getPlayerShield.md deleted file mode 100644 index 2847a44..0000000 --- a/docs/functions/player/getPlayerShield.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerShield -::: src.pyg2o.functions.player.getPlayerShield \ No newline at end of file diff --git a/docs/functions/player/getPlayerSkillWeapon.md b/docs/functions/player/getPlayerSkillWeapon.md deleted file mode 100644 index b2efb92..0000000 --- a/docs/functions/player/getPlayerSkillWeapon.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerSkillWeapon -::: src.pyg2o.functions.player.getPlayerSkillWeapon \ No newline at end of file diff --git a/docs/functions/player/getPlayerSpell.md b/docs/functions/player/getPlayerSpell.md deleted file mode 100644 index 48ff84d..0000000 --- a/docs/functions/player/getPlayerSpell.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerSpell -::: src.pyg2o.functions.player.getPlayerSpell \ No newline at end of file diff --git a/docs/functions/player/getPlayerStrength.md b/docs/functions/player/getPlayerStrength.md deleted file mode 100644 index 6de5b44..0000000 --- a/docs/functions/player/getPlayerStrength.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerStrength -::: src.pyg2o.functions.player.getPlayerStrength \ No newline at end of file diff --git a/docs/functions/player/getPlayerTalent.md b/docs/functions/player/getPlayerTalent.md deleted file mode 100644 index 2c2e056..0000000 --- a/docs/functions/player/getPlayerTalent.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerTalent -::: src.pyg2o.functions.player.getPlayerTalent \ No newline at end of file diff --git a/docs/functions/player/getPlayerUID.md b/docs/functions/player/getPlayerUID.md deleted file mode 100644 index 0684e17..0000000 --- a/docs/functions/player/getPlayerUID.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerUID -::: src.pyg2o.functions.player.getPlayerUID \ No newline at end of file diff --git a/docs/functions/player/getPlayerVirtualWorld.md b/docs/functions/player/getPlayerVirtualWorld.md deleted file mode 100644 index 9bf90d5..0000000 --- a/docs/functions/player/getPlayerVirtualWorld.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerVirtualWorld -::: src.pyg2o.functions.player.getPlayerVirtualWorld \ No newline at end of file diff --git a/docs/functions/player/getPlayerVisual.md b/docs/functions/player/getPlayerVisual.md deleted file mode 100644 index ef1f6f1..0000000 --- a/docs/functions/player/getPlayerVisual.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerVisual -::: src.pyg2o.functions.player.getPlayerVisual \ No newline at end of file diff --git a/docs/functions/player/getPlayerWeaponMode.md b/docs/functions/player/getPlayerWeaponMode.md deleted file mode 100644 index 6db2404..0000000 --- a/docs/functions/player/getPlayerWeaponMode.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerWeaponMode -::: src.pyg2o.functions.player.getPlayerWeaponMode \ No newline at end of file diff --git a/docs/functions/player/getPlayerWorld.md b/docs/functions/player/getPlayerWorld.md deleted file mode 100644 index cf7b11b..0000000 --- a/docs/functions/player/getPlayerWorld.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getPlayerWorld -::: src.pyg2o.functions.player.getPlayerWorld \ No newline at end of file diff --git a/docs/functions/player/giveItem.md b/docs/functions/player/giveItem.md deleted file mode 100644 index 4f84e28..0000000 --- a/docs/functions/player/giveItem.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` giveItem -::: src.pyg2o.functions.player.giveItem \ No newline at end of file diff --git a/docs/functions/player/hitPlayer.md b/docs/functions/player/hitPlayer.md deleted file mode 100644 index ff92919..0000000 --- a/docs/functions/player/hitPlayer.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` hitPlayer -::: src.pyg2o.functions.player.hitPlayer \ No newline at end of file diff --git a/docs/functions/player/isPlayerConnected.md b/docs/functions/player/isPlayerConnected.md deleted file mode 100644 index ac85b41..0000000 --- a/docs/functions/player/isPlayerConnected.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` isPlayerConnected -::: src.pyg2o.functions.player.isPlayerConnected \ No newline at end of file diff --git a/docs/functions/player/isPlayerDead.md b/docs/functions/player/isPlayerDead.md deleted file mode 100644 index b3d2d0f..0000000 --- a/docs/functions/player/isPlayerDead.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` isPlayerDead -::: src.pyg2o.functions.player.isPlayerDead \ No newline at end of file diff --git a/docs/functions/player/isPlayerSpawned.md b/docs/functions/player/isPlayerSpawned.md deleted file mode 100644 index 4c90a52..0000000 --- a/docs/functions/player/isPlayerSpawned.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` isPlayerSpawned -::: src.pyg2o.functions.player.isPlayerSpawned \ No newline at end of file diff --git a/docs/functions/player/isPlayerUnconscious.md b/docs/functions/player/isPlayerUnconscious.md deleted file mode 100644 index f39ded9..0000000 --- a/docs/functions/player/isPlayerUnconscious.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` isPlayerUnconscious -::: src.pyg2o.functions.player.isPlayerUnconscious \ No newline at end of file diff --git a/docs/functions/player/kick.md b/docs/functions/player/kick.md deleted file mode 100644 index 3e80c57..0000000 --- a/docs/functions/player/kick.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` kick -::: src.pyg2o.functions.player.kick \ No newline at end of file diff --git a/docs/functions/player/playAni.md b/docs/functions/player/playAni.md deleted file mode 100644 index 2fb4be1..0000000 --- a/docs/functions/player/playAni.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` playAni -::: src.pyg2o.functions.player.playAni \ No newline at end of file diff --git a/docs/functions/player/playFaceAni.md b/docs/functions/player/playFaceAni.md deleted file mode 100644 index f4546fe..0000000 --- a/docs/functions/player/playFaceAni.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` playFaceAni -::: src.pyg2o.functions.player.playFaceAni \ No newline at end of file diff --git a/docs/functions/player/readySpell.md b/docs/functions/player/readySpell.md deleted file mode 100644 index 62fb8b1..0000000 --- a/docs/functions/player/readySpell.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` readySpell -::: src.pyg2o.functions.player.readySpell \ No newline at end of file diff --git a/docs/functions/player/removeItem.md b/docs/functions/player/removeItem.md deleted file mode 100644 index ee1d942..0000000 --- a/docs/functions/player/removeItem.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` removeItem -::: src.pyg2o.functions.player.removeItem \ No newline at end of file diff --git a/docs/functions/player/removePlayerOverlay.md b/docs/functions/player/removePlayerOverlay.md deleted file mode 100644 index d97725c..0000000 --- a/docs/functions/player/removePlayerOverlay.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` removePlayerOverlay -::: src.pyg2o.functions.player.removePlayerOverlay \ No newline at end of file diff --git a/docs/functions/player/removeWeapon.md b/docs/functions/player/removeWeapon.md deleted file mode 100644 index ac89432..0000000 --- a/docs/functions/player/removeWeapon.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` removeWeapon -::: src.pyg2o.functions.player.removeWeapon \ No newline at end of file diff --git a/docs/functions/player/setPlayerAngle.md b/docs/functions/player/setPlayerAngle.md deleted file mode 100644 index 0dcb0c7..0000000 --- a/docs/functions/player/setPlayerAngle.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerAngle -::: src.pyg2o.functions.player.setPlayerAngle \ No newline at end of file diff --git a/docs/functions/player/setPlayerCollision.md b/docs/functions/player/setPlayerCollision.md deleted file mode 100644 index 9de559b..0000000 --- a/docs/functions/player/setPlayerCollision.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerCollision -::: src.pyg2o.functions.player.setPlayerCollision \ No newline at end of file diff --git a/docs/functions/player/setPlayerColor.md b/docs/functions/player/setPlayerColor.md deleted file mode 100644 index 9dc9397..0000000 --- a/docs/functions/player/setPlayerColor.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerColor -::: src.pyg2o.functions.player.setPlayerColor \ No newline at end of file diff --git a/docs/functions/player/setPlayerDexterity.md b/docs/functions/player/setPlayerDexterity.md deleted file mode 100644 index e838ead..0000000 --- a/docs/functions/player/setPlayerDexterity.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerDexterity -::: src.pyg2o.functions.player.setPlayerDexterity \ No newline at end of file diff --git a/docs/functions/player/setPlayerFatness.md b/docs/functions/player/setPlayerFatness.md deleted file mode 100644 index edc0a41..0000000 --- a/docs/functions/player/setPlayerFatness.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerFatness -::: src.pyg2o.functions.player.setPlayerFatness \ No newline at end of file diff --git a/docs/functions/player/setPlayerHealth.md b/docs/functions/player/setPlayerHealth.md deleted file mode 100644 index 6641a8c..0000000 --- a/docs/functions/player/setPlayerHealth.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerHealth -::: src.pyg2o.functions.player.setPlayerHealth \ No newline at end of file diff --git a/docs/functions/player/setPlayerInstance.md b/docs/functions/player/setPlayerInstance.md deleted file mode 100644 index 9339968..0000000 --- a/docs/functions/player/setPlayerInstance.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerInstance -::: src.pyg2o.functions.player.setPlayerInstance \ No newline at end of file diff --git a/docs/functions/player/setPlayerInvisible.md b/docs/functions/player/setPlayerInvisible.md deleted file mode 100644 index d9b4c70..0000000 --- a/docs/functions/player/setPlayerInvisible.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerInvisible -::: src.pyg2o.functions.player.setPlayerInvisible \ No newline at end of file diff --git a/docs/functions/player/setPlayerMana.md b/docs/functions/player/setPlayerMana.md deleted file mode 100644 index 8034911..0000000 --- a/docs/functions/player/setPlayerMana.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerMana -::: src.pyg2o.functions.player.setPlayerMana \ No newline at end of file diff --git a/docs/functions/player/setPlayerMaxHealth.md b/docs/functions/player/setPlayerMaxHealth.md deleted file mode 100644 index 0a6c7c8..0000000 --- a/docs/functions/player/setPlayerMaxHealth.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerMaxHealth -::: src.pyg2o.functions.player.setPlayerMaxHealth \ No newline at end of file diff --git a/docs/functions/player/setPlayerMaxMana.md b/docs/functions/player/setPlayerMaxMana.md deleted file mode 100644 index c13bc48..0000000 --- a/docs/functions/player/setPlayerMaxMana.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerMaxMana -::: src.pyg2o.functions.player.setPlayerMaxMana \ No newline at end of file diff --git a/docs/functions/player/setPlayerName.md b/docs/functions/player/setPlayerName.md deleted file mode 100644 index ca0279f..0000000 --- a/docs/functions/player/setPlayerName.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerName -::: src.pyg2o.functions.player.setPlayerName \ No newline at end of file diff --git a/docs/functions/player/setPlayerRespawnTime.md b/docs/functions/player/setPlayerRespawnTime.md deleted file mode 100644 index 940c484..0000000 --- a/docs/functions/player/setPlayerRespawnTime.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerRespawnTime -::: src.pyg2o.functions.player.setPlayerRespawnTime \ No newline at end of file diff --git a/docs/functions/player/setPlayerScale.md b/docs/functions/player/setPlayerScale.md deleted file mode 100644 index faad1a3..0000000 --- a/docs/functions/player/setPlayerScale.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerScale -::: src.pyg2o.functions.player.setPlayerScale \ No newline at end of file diff --git a/docs/functions/player/setPlayerSkillWeapon.md b/docs/functions/player/setPlayerSkillWeapon.md deleted file mode 100644 index ea04299..0000000 --- a/docs/functions/player/setPlayerSkillWeapon.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerSkillWeapon -::: src.pyg2o.functions.player.setPlayerSkillWeapon \ No newline at end of file diff --git a/docs/functions/player/setPlayerStrength.md b/docs/functions/player/setPlayerStrength.md deleted file mode 100644 index 63edfde..0000000 --- a/docs/functions/player/setPlayerStrength.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerStrength -::: src.pyg2o.functions.player.setPlayerStrength \ No newline at end of file diff --git a/docs/functions/player/setPlayerTalent.md b/docs/functions/player/setPlayerTalent.md deleted file mode 100644 index 79fce76..0000000 --- a/docs/functions/player/setPlayerTalent.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerTalent -::: src.pyg2o.functions.player.setPlayerTalent \ No newline at end of file diff --git a/docs/functions/player/setPlayerVirtualWorld.md b/docs/functions/player/setPlayerVirtualWorld.md deleted file mode 100644 index 3eb85b3..0000000 --- a/docs/functions/player/setPlayerVirtualWorld.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerVirtualWorld -::: src.pyg2o.functions.player.setPlayerVirtualWorld \ No newline at end of file diff --git a/docs/functions/player/setPlayerVisual.md b/docs/functions/player/setPlayerVisual.md deleted file mode 100644 index 332bb0d..0000000 --- a/docs/functions/player/setPlayerVisual.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerVisual -::: src.pyg2o.functions.player.setPlayerVisual \ No newline at end of file diff --git a/docs/functions/player/setPlayerWeaponMode.md b/docs/functions/player/setPlayerWeaponMode.md deleted file mode 100644 index c71421e..0000000 --- a/docs/functions/player/setPlayerWeaponMode.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerWeaponMode -::: src.pyg2o.functions.player.setPlayerWeaponMode \ No newline at end of file diff --git a/docs/functions/player/setPlayerWorld.md b/docs/functions/player/setPlayerWorld.md deleted file mode 100644 index 1ed2106..0000000 --- a/docs/functions/player/setPlayerWorld.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` setPlayerWorld -::: src.pyg2o.functions.player.setPlayerWorld \ No newline at end of file diff --git a/docs/functions/player/spawnPlayer.md b/docs/functions/player/spawnPlayer.md deleted file mode 100644 index 2b469f9..0000000 --- a/docs/functions/player/spawnPlayer.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` spawnPlayer -::: src.pyg2o.functions.player.spawnPlayer \ No newline at end of file diff --git a/docs/functions/player/stopAni.md b/docs/functions/player/stopAni.md deleted file mode 100644 index 972354a..0000000 --- a/docs/functions/player/stopAni.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` stopAni -::: src.pyg2o.functions.player.stopAni \ No newline at end of file diff --git a/docs/functions/player/stopFaceAni.md b/docs/functions/player/stopFaceAni.md deleted file mode 100644 index bad90cd..0000000 --- a/docs/functions/player/stopFaceAni.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` stopFaceAni -::: src.pyg2o.functions.player.stopFaceAni \ No newline at end of file diff --git a/docs/functions/player/unequipItem.md b/docs/functions/player/unequipItem.md deleted file mode 100644 index ad4b195..0000000 --- a/docs/functions/player/unequipItem.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` unequipItem -::: src.pyg2o.functions.player.unequipItem \ No newline at end of file diff --git a/docs/functions/player/unreadySpell.md b/docs/functions/player/unreadySpell.md deleted file mode 100644 index 02c13ab..0000000 --- a/docs/functions/player/unreadySpell.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` unreadySpell -::: src.pyg2o.functions.player.unreadySpell \ No newline at end of file diff --git a/docs/functions/player/unspawnPlayer.md b/docs/functions/player/unspawnPlayer.md deleted file mode 100644 index 3d8484d..0000000 --- a/docs/functions/player/unspawnPlayer.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` unspawnPlayer -::: src.pyg2o.functions.player.unspawnPlayer \ No newline at end of file diff --git a/docs/functions/player/useItem.md b/docs/functions/player/useItem.md deleted file mode 100644 index d0eb9ab..0000000 --- a/docs/functions/player/useItem.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` useItem -::: src.pyg2o.functions.player.useItem \ No newline at end of file diff --git a/docs/functions/player/useItemToState.md b/docs/functions/player/useItemToState.md deleted file mode 100644 index 619bd9d..0000000 --- a/docs/functions/player/useItemToState.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` useItemToState -::: src.pyg2o.functions.player.useItemToState \ No newline at end of file diff --git a/docs/functions/streamer/findNearbyPlayers.md b/docs/functions/streamer/findNearbyPlayers.md deleted file mode 100644 index 9f93d59..0000000 --- a/docs/functions/streamer/findNearbyPlayers.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` findNearbyPlayers -::: src.pyg2o.functions.streamer.findNearbyPlayers \ No newline at end of file diff --git a/docs/functions/streamer/getSpawnedPlayersForPlayer.md b/docs/functions/streamer/getSpawnedPlayersForPlayer.md deleted file mode 100644 index 2e12592..0000000 --- a/docs/functions/streamer/getSpawnedPlayersForPlayer.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getSpawnedPlayersForPlayer -::: src.pyg2o.functions.streamer.getSpawnedPlayersForPlayer \ No newline at end of file diff --git a/docs/functions/streamer/getStreamedPlayersByPlayer.md b/docs/functions/streamer/getStreamedPlayersByPlayer.md deleted file mode 100644 index d30494d..0000000 --- a/docs/functions/streamer/getStreamedPlayersByPlayer.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getStreamedPlayersByPlayer -::: src.pyg2o.functions.streamer.getStreamedPlayersByPlayer \ No newline at end of file diff --git a/docs/functions/waypoint/getNearestWaypoint.md b/docs/functions/waypoint/getNearestWaypoint.md deleted file mode 100644 index 0812790..0000000 --- a/docs/functions/waypoint/getNearestWaypoint.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getNearestWaypoint -::: src.pyg2o.functions.waypoint.getNearestWaypoint \ No newline at end of file diff --git a/docs/functions/waypoint/getWaypoint.md b/docs/functions/waypoint/getWaypoint.md deleted file mode 100644 index 1a93388..0000000 --- a/docs/functions/waypoint/getWaypoint.md +++ /dev/null @@ -1,2 +0,0 @@ -#`function` getWaypoint -::: src.pyg2o.functions.waypoint.getWaypoint \ No newline at end of file diff --git a/docs/index.md b/docs/index.md deleted file mode 100644 index ee73440..0000000 --- a/docs/index.md +++ /dev/null @@ -1,46 +0,0 @@ -## How to use -1. Install [G2O WebSocket module](https://github.com/AURUMVORXX/G2O-WebSocket) to your server -2. Install [JSON module](https://gitlab.com/GothicMultiplayerTeam/modules/json) to your server -3. Download **include/** folder and import the Squirrel part of the library: -```xml - -``` -2. Install python library to your application -``` -pip install pyg2o -``` -3. Launch websocket client in your Squirrel scripts -``` -// PyG2O(url, silent, max_reconnect_attempts) -// silent - disable information prints -// max_reconnect_attempts - maximum reconnect attempts if server will stop the connection (0 - infinite attempts). This value doesn't reset on connection - -// Start server -local srv = PyG2O("ws://localhost:8080", false, 15) -srv.start() -// Stop server -srv.stop() -``` -4. In your application, launch asyncio event loop and websocket server -```python -import pyg2o -import asyncio - -srv = None - -async def main(): - global srv - srv = pyg2o.PythonWebsocketServer( - host='localhost', - port=8080, - ping_interval=30, - whitelist=['::1'], - ) - try: - await srv.start() - except asyncio.CancelledError: - await srv.stop() - -if __name__ == '__main__': - asyncio.run(main()) -``` \ No newline at end of file diff --git a/docs/qna.md b/docs/qna.md deleted file mode 100644 index df45c3f..0000000 --- a/docs/qna.md +++ /dev/null @@ -1,13 +0,0 @@ -## QnA -### 1. Do I need to install Python to use it? -Yes. - -### 2. Can I use external Python libraries? -Yes, you can install it as usual (for example, via *pip*) - -### 3. Can I use it as client-side module? -No, it doesn't support any client-side functionality, and there's no plans to add it for now due to security reasons and technical difficulties with client-side C++ modules. - -### 4. Can I use it along side with Squirrel? -No, in most cases you can't. This module do call Squirrel's root table and const table directly, but there's no way to transfer data between Python and Squirrel (such as variables or class instances). -But, if you want to use Squirrel and Python separately without data sharing, it should be ok (untested). \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml deleted file mode 100644 index fd54430..0000000 --- a/mkdocs.yml +++ /dev/null @@ -1,266 +0,0 @@ -site_name: PyG2O - -markdown_extensions: - - nl2br - - admonition - - pymdownx.details - - pymdownx.superfences - - sane_lists - - attr_list - - md_in_html - - pymdownx.blocks.caption - -plugins: - - mkdocstrings - - search - - callouts - - glightbox - -repo_url: https://github.com/AURUMVORXX/PyG2O.git - -nav: - - How to use: index.md - - Comparing with Squirrel: comparing.md - - QnA: qna.md - - Classes: - - Game: - - Daedalus: classes/game/Daedalus.md - - Sky: classes/game/Sky.md - - DamageDescription: classes/game/DamageDescription.md - - Item: - - ItemGround: classes/item/ItemGround.md - - ItemsGround: classes/item/ItemsGround.md - - Mds: - - Mds: classes/mds/Mds.md - - Constants: - - AntiCheat: constants/anticheat.md - - Context: constants/context.md - - Damage: constants/damage.md - - General: constants/general.md - - Hand: constants/hand.md - - Item: constants/item.md - - Network: constants/network.md - - NPC: constants/npc.md - - Reliability: constants/reliability.md - - Skill weapon: constants/skill-weapon.md - - Talent: constants/talent.md - - Weapon mode: constants/weapon-mode.md - - Weather: constants/weather.md - - Events: - - Anticheat: - - onPlayerUseCheat: defaultEvents/anticheat/onPlayerUseCheat.md - - General: - - onInit: defaultEvents/general/onInit.md - - onExit: defaultEvents/general/onExit.md - - onTick: defaultEvents/general/onTick.md - - onTime: defaultEvents/general/onTime.md - - onBan: defaultEvents/general/onBan.md - - onUnban: defaultEvents/general/onUnban.md - - Npc: - - onNpcActionFinished: defaultEvents/npc/onNpcActionFinished.md - - onNpcActionSent: defaultEvents/npc/onNpcActionSent.md - - onNpcChangeHostPlayer: defaultEvents/npc/onNpcChangeHostPlayer.md - - onNpcCreated: defaultEvents/npc/onNpcCreated.md - - onNpcDestroyed: defaultEvents/npc/onNpcDestroyed.md - - Player: - - onPlayerChangeColor: defaultEvents/player/onPlayerChangeColor.md - - onPlayerChangeFocus: defaultEvents/player/onPlayerChangeFocus.md - - onPlayerChangeHealth: defaultEvents/player/onPlayerChangeHealth.md - - onPlayerChangeMana: defaultEvents/player/onPlayerChangeMana.md - - onPlayerChangeMaxHealth: defaultEvents/player/onPlayerChangeMaxHealth.md - - onPlayerChangeMaxMana: defaultEvents/player/onPlayerChangeMaxMana.md - - onPlayerChangeWeaponMode: defaultEvents/player/onPlayerChangeWeaponMode.md - - onPlayerChangeWorld: defaultEvents/player/onPlayerChangeWorld.md - - onPlayerCommand: defaultEvents/player/onPlayerCommand.md - - onPlayerDamage: defaultEvents/player/onPlayerDamage.md - - onPlayerDead: defaultEvents/player/onPlayerDead.md - - onPlayerDisconnect: defaultEvents/player/onPlayerDisconnect.md - - onPlayerDropItem: defaultEvents/player/onPlayerDropItem.md - - onPlayerEnterWorld: defaultEvents/player/onPlayerEnterWorld.md - - onPlayerEquipAmulet: defaultEvents/player/onPlayerEquipAmulet.md - - onPlayerEquipArmor: defaultEvents/player/onPlayerEquipArmor.md - - onPlayerEquipBelt: defaultEvents/player/onPlayerEquipBelt.md - - onPlayerEquipHandItem: defaultEvents/player/onPlayerEquipHandItem.md - - onPlayerEquipHelmet: defaultEvents/player/onPlayerEquipHelmet.md - - onPlayerEquipMeleeWeapon: defaultEvents/player/onPlayerEquipMeleeWeapon.md - - onPlayerEquipRangedWeapon: defaultEvents/player/onPlayerEquipRangedWeapon.md - - onPlayerEquipRing: defaultEvents/player/onPlayerEquipRing.md - - onPlayerEquipShield: defaultEvents/player/onPlayerEquipShield.md - - onPlayerEquipSpell: defaultEvents/player/onPlayerEquipSpell.md - - onPlayerJoin: defaultEvents/player/onPlayerJoin.md - - onPlayerMessage: defaultEvents/player/onPlayerMessage.md - - onPlayerMobInteract: defaultEvents/player/onPlayerMobInteract.md - - onPlayerRespawn: defaultEvents/player/onPlayerRespawn.md - - onPlayerShoot: defaultEvents/player/onPlayerShoot.md - - onPlayerSpellCast: defaultEvents/player/onPlayerSpellCast.md - - onPlayerSpellSetup: defaultEvents/player/onPlayerSpellSetup.md - - onPlayerTakeItem: defaultEvents/player/onPlayerTakeItem.md - - onPlayerTeleport: defaultEvents/player/onPlayerTeleport.md - - onPlayerToggleFaceAni: defaultEvents/player/onPlayerToggleFaceAni.md - - Functions: - - Chat: - - sendMessageToAll: functions/chat/sendMessageToAll.md - - sendMessageToPlayer: functions/chat/sendMessageToPlayer.md - - sendPlayerMessageToAll: functions/chat/sendPlayerMessageToAll.md - - sendPlayerMessageToPlayer: functions/chat/sendPlayerMessageToPlayer.md - - Game: - - getHostname: functions/game/getHostname.md - - getMaxSlots: functions/game/getMaxSlots.md - - getPlayersCount: functions/game/getPlayersCount.md - - exit: functions/game/exit.md - - getDayLength: functions/game/getDayLength.md - - getServerDescription: functions/game/getServerDescription.md - - getServerWorld: functions/game/getServerWorld.md - - getTime: functions/game/getTime.md - - serverLog: functions/game/serverLog.md - - setDayLength: functions/game/setDayLength.md - - setServerDescription: functions/game/setServerDescription.md - - setServerWorld: functions/game/setServerWorld.md - - setTime: functions/game/setTime.md - - Npc: - - clearNpcActions: functions/npc/clearNpcActions.md - - createNpc: functions/npc/createNpc.md - - destroyNpc: functions/npc/destroyNpc.md - - getNpcAction: functions/npc/getNpcAction.md - - getNpcActions: functions/npc/getNpcActions.md - - getNpcActionsCount: functions/npc/getNpcActionsCount.md - - getNpcHostPlayer: functions/npc/getNpcHostPlayer.md - - getNpcLastActionId: functions/npc/getNpcLastActionId.md - - isNpc: functions/npc/isNpc.md - - isNpcActionFinished: functions/npc/isNpcActionFinished.md - - npcAttackMelee: functions/npc/npcAttackMelee.md - - npcAttackRanged: functions/npc/npcAttackRanged.md - - npcSpellCast: functions/npc/npcSpellCast.md - - npcUseClosestMob: functions/npc/npcUseClosestMob.md - - setNpcHostPlayer: functions/npc/setNpcHostPlayer.md - - Player: - - addBan: functions/player/addBan.md - - applyPlayerOverlay: functions/player/applyPlayerOverlay.md - - ban: functions/player/ban.md - - drawWeapon: functions/player/drawWeapon.md - - equipItem: functions/player/equipItem.md - - getPlayerAmulet: functions/player/getPlayerAmulet.md - - getPlayerAngle: functions/player/getPlayerAngle.md - - getPlayerAni: functions/player/getPlayerAni.md - - getPlayerArmor: functions/player/getPlayerArmor.md - - getPlayerAtVector: functions/player/getPlayerAtVector.md - - getPlayerBelt: functions/player/getPlayerBelt.md - - getPlayerCameraPosition: functions/player/getPlayerCameraPosition.md - - getPlayerCollision: functions/player/getPlayerCollision.md - - getPlayerColor: functions/player/getPlayerColor.md - - getPlayerContext: functions/player/getPlayerContext.md - - getPlayerDexterity: functions/player/getPlayerDexterity.md - - getPlayerFaceAnis: functions/player/getPlayerFaceAnis.md - - getPlayerFatness: functions/player/getPlayerFatness.md - - getPlayerFocus: functions/player/getPlayerFocus.md - - getPlayerHealth: functions/player/getPlayerHealth.md - - getPlayerHelmet: functions/player/getPlayerHelmet.md - - getPlayerIP: functions/player/getPlayerIP.md - - getPlayerInstance: functions/player/getPlayerInstance.md - - getPlayerInvisible: functions/player/getPlayerInvisible.md - - getPlayerMacAddr: functions/player/getPlayerMacAddr.md - - getPlayerMana: functions/player/getPlayerMana.md - - getPlayerMaxHealth: functions/player/getPlayerMaxHealth.md - - getPlayerMaxMana: functions/player/getPlayerMaxMana.md - - getPlayerMeleeWeapon: functions/player/getPlayerMeleeWeapon.md - - getPlayerName: functions/player/getPlayerName.md - - getPlayerPing: functions/player/getPlayerPing.md - - getPlayerPosition: functions/player/getPlayerPosition.md - - getPlayerRangedWeapon: functions/player/getPlayerRangedWeapon.md - - getPlayerRespawnTime: functions/player/getPlayerRespawnTime.md - - getPlayerRing: functions/player/getPlayerRing.md - - getPlayerScale: functions/player/getPlayerScale.md - - getPlayerSerial: functions/player/getPlayerSerial.md - - getPlayerShield: functions/player/getPlayerShield.md - - getPlayerSkillWeapon: functions/player/getPlayerSkillWeapon.md - - getPlayerSpell: functions/player/getPlayerSpell.md - - getPlayerStrength: functions/player/getPlayerStrength.md - - getPlayerTalent: functions/player/getPlayerTalent.md - - getPlayerUID: functions/player/getPlayerUID.md - - getPlayerVirtualWorld: functions/player/getPlayerVirtualWorld.md - - getPlayerVisual: functions/player/getPlayerVisual.md - - getPlayerWeaponMode: functions/player/getPlayerWeaponMode.md - - getPlayerWorld: functions/player/getPlayerWorld.md - - giveItem: functions/player/giveItem.md - - hitPlayer: functions/player/hitPlayer.md - - isPlayerConnected: functions/player/isPlayerConnected.md - - isPlayerDead: functions/player/isPlayerDead.md - - isPlayerSpawned: functions/player/isPlayerSpawned.md - - isPlayerUnconscious: functions/player/isPlayerUnconscious.md - - kick: functions/player/kick.md - - playAni: functions/player/playAni.md - - playFaceAni: functions/player/playFaceAni.md - - readySpell: functions/player/readySpell.md - - removeItem: functions/player/removeItem.md - - removePlayerOverlay: functions/player/removePlayerOverlay.md - - removeWeapon: functions/player/removeWeapon.md - - setPlayerAngle: functions/player/setPlayerAngle.md - - setPlayerCollision: functions/player/setPlayerCollision.md - - setPlayerColor: functions/player/setPlayerColor.md - - setPlayerDexterity: functions/player/setPlayerDexterity.md - - setPlayerDexterity: functions/player/setPlayerDexterity.md - - setPlayerFatness: functions/player/setPlayerFatness.md - - setPlayerHealth: functions/player/setPlayerHealth.md - - setPlayerInstance: functions/player/setPlayerInstance.md - - setPlayerInvisible: functions/player/setPlayerInvisible.md - - setPlayerMana: functions/player/setPlayerMana.md - - setPlayerMaxHealth: functions/player/setPlayerMaxHealth.md - - setPlayerMaxMana: functions/player/setPlayerMaxMana.md - - setPlayerName: functions/player/setPlayerName.md - - setPlayerScale: functions/player/setPlayerScale.md - - setPlayerRespawnTime: functions/player/setPlayerRespawnTime.md - - setPlayerScale: functions/player/setPlayerScale.md - - setPlayerSkillWeapon: functions/player/setPlayerSkillWeapon.md - - setPlayerStrength: functions/player/setPlayerStrength.md - - setPlayerTalent: functions/player/setPlayerTalent.md - - setPlayerVirtualWorld: functions/player/setPlayerVirtualWorld.md - - setPlayerVisual: functions/player/setPlayerVisual.md - - setPlayerWeaponMode: functions/player/setPlayerWeaponMode.md - - setPlayerWorld: functions/player/setPlayerWorld.md - - spawnPlayer: functions/player/spawnPlayer.md - - stopAni: functions/player/stopAni.md - - stopFaceAni: functions/player/stopFaceAni.md - - unequipItem: functions/player/unequipItem.md - - unreadySpell: functions/player/unreadySpell.md - - unspawnPlayer: functions/player/unspawnPlayer.md - - useItem: functions/player/useItem.md - - useItemToState: functions/player/useItemToState.md - - Event: - - addEvent: functions/event/addEvent.md - - event: functions/event/event.md - - callEvent: functions/event/callEvent.md - - removeEvent: functions/event/removeEvent.md - - removeEventHandler: functions/event/removeEventHandler.md - - toggleEvent: functions/event/toggleEvent.md - - Streamer: - - findNearbyPlayers: functions/streamer/findNearbyPlayers.md - - getSpawnedPlayersForPlayer: functions/streamer/getSpawnedPlayersForPlayer.md - - getStreamedPlayersByPlayer: functions/streamer/getStreamedPlayersByPlayer.md - - Waypoint: - - getNearestWaypoint: functions/waypoint/getNearestWaypoint.md - - getWaypoint: functions/waypoint/getWaypoint.md - -theme: - name: material - features: - - search.suggest - - search.highlight - - content.tabs.link - - content.code.annotation - - content.code.copy - icon: - repo: fontawesome/brands/gitlab - palette: - - media: "(prefers-color-scheme: light)" - scheme: default - toggle: - icon: material/eye-outline - name: Switch to dark mode - - - media: "(prefers-color-scheme: dark)" - scheme: slate - toggle: - icon: material/eye - name: Switch to light mode - - primary: black \ No newline at end of file