Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.
forked from R-Josef/BBSToper

Bukkit插件BBStoper----奖励玩家顶服务器宣传帖

License

Notifications You must be signed in to change notification settings

KioProject123/BBSToper-KioCG

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BBSToper

这是一个检测mcbbs服务器宣传贴顶帖后,玩家输入指令领取奖励的bukkit插件.

此插件的mcbbs页面:https://www.mcbbs.net/thread-789082-1-1.html

可用发行版: https://github.com/R-Josef/BBSToper/releases

许可

本软件的许可请查看LICENCE文件.

用到的库

  1. Jsoup
  2. bStats
  3. PlaceHolderAPI

构建

此项目采用maven构建, 提供了pom文件, clone此git库后可以使用maven进行构建.

使用方法

  1. 获得一份构建好的jar文件, 请查看https://github.com/R-Josef/BBSToper/releases
  2. 将构建好的文件放入plugins文件夹
  3. 前往mcbbs复制您的帖子id并替换掉配置文件中默认链接中的id
  4. 重启/启动服务器

命令&权限

玩家默认拥有bbstoper.user权限

bbstoper.user的子权限
bbstoper.binding
bbstoper.reward

op默认拥有bbstoper.admin权限

bbstoper.admin的子权限
bbstoper.testreward
bbstoper.list
bbstoper.top
bbstoper.check
bbstoper.delete
bbstoper.reload
bbstoper.bypassquerycooldown

/bbstoper /poster /bt 都是可用命令别名

命令 权限 描述
/bbstoper 无需权限 显示箱子GUI
/bbstoper help 无需权限 显示帮助信息
/bbstoper binding <MCBBS论坛ID> bbstoper.binding 绑定论坛账号, 注意这里是ID不是uid
/bbstoper reward bbstoper.reward 领取奖励
/bbstoper testreward [模式] bbstoper.testreward 测试奖励, 模式: normal incentive offday
/bbstoper list <页数> bbstoper.list 列出所有顶帖者
/bbstoper top <页数> bbstoper.top 按照顶贴次数列排名出所有已绑定玩家
bbstoper.bypassquerycooldown 绕过查询冷却
/bbstoper check bbsid <论坛ID> bbstoper.check 查看一个论坛id的绑定者
/bbstoper check player <玩家ID> bbstoper.check 查看一个玩家绑定的论坛id
/bbstoper delete player <玩家ID> bbstoper.delete 删除一个玩家的数据
/bbstoper reload bbstoper.reload 重载插件

PlaceholderAPI 占位符

本插件提供了一些基于PlaceHolderAPI的占位符(Placeholders), 要想使用这些占位符就必须在服务端上同时运行了PlaceholderAPI插件.

占位符 描述
%bbstoper_bbsid% 当前玩家的MCBBS用户名
%bbstoper_posttimes% 当前玩家的顶贴次数
%bbstoper_pageid% 宣传贴的id
%bbstoper_pageurl% 宣传贴的链接
%bbstoper_lastpost% 上一次被顶贴的时间
%bbstoper_top_<序号>% 顶贴排行第"序号"个的顶贴信息, 例: %bbstoper_top_1%

About

Bukkit插件BBStoper----奖励玩家顶服务器宣传帖

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%