• 注册后才能下载/购买插件!快来注册吧,注册即可免费下载 精翻插件 !【点我注册
  • RustSB.COM向广大野生Rust插件作者发出入驻邀请!详情请见[原创作者条约]
【VipLogo·服务器等级】

原创 【VipLogo·服务器等级】 1.1.9

其他插件可以通过以下方式调用本插件:
  • 获取玩家等级API:
JSON:
if (condition.RequiredLevel > 0)
  {
    int currentLevel = 0;
    if (VipLogo)
    {
      currentLevel = (int)VipLogo.CallHook("GetLv", (ulong)player.userID);
    }
  • 监听玩家升级事件Hook:
JSON:
void OnVipLogoPlayerUP(BasePlayer player, int level)
{
    Puts($"玩家 {player.displayName} 升级到了 {level} 级!");
}