Skip to content

Releases: huangdihd/CnOrgMetaPlugin

CnOrgMetaPlugin 1.0.0

Choose a tag to compare

@huangdihd huangdihd released this 12 Jul 16:30

CnOrgMetaPlugin 1.0.0 — a Xinbot MetaPlugin for the 2b2t-cn.org anarchy server.

Drop CnOrgMetaPlugin-1.0.0-RELEASE.jar and XinVia into your Xinbot plugin folder to make Xinbot work out of the box on 2b2t-cn.org.

Highlights

  • Connects to 2b2t-cn.org with automatic SRV resolution.
  • Cross-version bridging via XinVia (core protocol → 1.21.4).
  • Declarative auto register / login (LoginFlow), including the auto-login-after-register and session-reconnection paths.
  • Play-phase ping/pong keep-alive (avoids the ~60 s 连接超时 kick).
  • Auto respawn after death; lobby auto-join support.
  • Full event surface: public/private chat, login/register success, queue position, and the cancellable UseJoinItemEvent / ClickJoinItemEvent / AutoRespawnEvent.

Verified live

Tested on the real 2b2t-cn.org game server with two bot clients in the same survival world: PlayerJoinEvent/PlayerLeaveEvent, PublicChatEvent, LoginSuccessEvent, RegisterSuccessEvent, LoginFlowEvent, ServerChangeEvent, ConnectEvent/DisconnectEvent, and keep-alive were all observed working.

Requires Xinbot 2.3.2+ (Java 17+) and XinVia.