Skip to content
Success

Depenizen (Jul 20, 2023, 11:42:27 AM)

Started 2 yr 7 mo ago
Took 10 sec
Build Artifacts
depenizen-2.1.0.jar583.48 KiB view
depenizen-2.1.0.pom16.77 KiB view
Clientizen Bridge (#409)

* WIP `DataSerializer`

* Start on server-side & few addtions to `DataSerializer`

* Small fixes

* Cleanups + opti

* Clientizen - Fixes, Testing tag, and log messages

* Fix channel handling in `onPluginMessageReceived`

* Have the client send confirmation

* Wait 20 ticks before sending scripts

To make sure the client is properly connected and is ready to receive packets

* Fix DataSerializer#writeByteArray not writing size

* Update lib

* Update submodule ref

* Cleanup & Refactor clientizen support

* send byte[] method, null support, channels fix,

* Formatting fix

* Rename `InChannelRunnable` to `ClientizenReceiver`

* Rename param

* oops rename receiver map as well

* Add `DataDeserializer`

* Clientizen events system (#2)

* Start on WIP untested event system

* Store `ClientizenEvent`s as a Map

* Linked player, Event IDs, check for invalid events

* Avoid duplicate event IDs

* `ClientizenEvent` suffix + cleanups

* Remove `PlayerPressesKey` clientizen event

* Remove `PlayerPressesKey` clientizen event

* Cleanup

* `Channels#id`, call `fire` by default, add comment

* Add `PlayerPressReleaseKey` clientizen event

* `clientizen event` and remove ServerEvent system (#4)

* Refactor, add `ClientizenEventScriptEvent`

* Cleanup & read event id

* Better param name

* Add `clientrun` command (#5)

* Initial work

* Script arg has no prefix

* Support sending nullable data, `path` is nullable

* Fix syntax

* Initial cleanups

* Add basic config option

* Rename to `ClientizenBridge`

* Add meta

* Add config option for `clientizen event`

* Correct link in config

* Don't always debug client script loading

* Add group to `PlayerTag.is_clientizen`

* `is_clientizen` -> `has_clientizen`

* `ClientizenEvent` - fix example, add warning

* `ClientRunCommand` - better player errors

* `DataSerializer` - remove `@NotNull` annotations

* `ClientizenBridge` - remove `final`s

* Add packet length limiter

* Fix config from previous commit

* `ClientizenEventScriptEvent` - don't pre-parse

* Remove delay when initially sending scripts

See https://github.com/DenizenScript/Clientizen/commit/b58b9ba1b23d1718d5565426b1322cb76768ec15

* Use Netty `ByteBuf`s, remove unused methods

* Use existing packet-based networking

* Handle event packet config within the packet

* remove raw access to MapTag.map

* Improve `max packet length`'s comment
(commit: ae2d04b)
noreply at