- UID
- 61371
- 阅读权限
- 20
- 注册时间
- 2016-2-5
- 最后登录
- 1970-1-1
- 在线时间
- 小时
- 人气
- 点
- MC币
- 个
- 贡献
- 点
TA的每日心情 | 擦汗 2016-5-27 18:53 |
---|
签到天数: 9 天 [LV.3]偶尔看看II
|
本帖最后由 嘟嘟 于 2016-5-27 06:36 编辑
http://www.zuimc.com/thread-33764-1-1.html
在此插件源码中找到如下代码- getLogger().info("欢迎使用K为Xian_ge编写VIP生命值插件");
复制代码 且我在插件的plugin.yml中
发现明确写有也就是说 作者并非连名字都随便打的此主题发布者
换句话说 有剽窃嫌疑
另外有一点 在此贴中语言有些幼稚
但在代码中所显现的水平与其不相符
有剽窃嫌疑
如果非剽窃
这个主题的作者也在插件的信息中写了一个英文
事实上根据反编译后的源码 这是一个纯中文插件
源码如下- package k.mc.plugin.viphealth;
- import java.io.PrintStream;
- import java.util.logging.Logger;
- import org.bukkit.Server;
- import org.bukkit.command.Command;
- import org.bukkit.command.CommandSender;
- import org.bukkit.configuration.file.FileConfiguration;
- import org.bukkit.entity.Player;
- import org.bukkit.event.EventHandler;
- import org.bukkit.event.Listener;
- import org.bukkit.event.player.PlayerJoinEvent;
- import org.bukkit.plugin.java.JavaPlugin;
- public class Viphealth extends JavaPlugin
- implements Listener
- {
- private Player player;
- private Player cmdp;
- private Player pp;
- private double health1;
- private double health2;
- private double health3;
- private double health4;
- private double health5;
- private double health6;
- private String str;
- public void onEnable()
- {
- saveDefaultConfig();
- this.health1 = getConfig().getDouble("health1");
- this.health2 = getConfig().getDouble("health2");
- this.health3 = getConfig().getDouble("health3");
- this.health4 = getConfig().getDouble("health4");
- this.health5 = getConfig().getDouble("health5");
- this.health6 = getConfig().getDouble("health6");
- getLogger().info("欢迎使用K为Xian_ge编写VIP生命值插件");
- }
- public void onDisable() {
- getLogger().info("viphealth插件成功关闭");
- }
- @EventHandler
- public void onplayerjoin(PlayerJoinEvent pj) { this.player = pj.getPlayer();
- if (this.player.hasPermission("viphealth.health1")) {
- this.player.setMaxHealth(this.health1);
- }
- if (this.player.hasPermission("viphealth.health2")) {
- this.player.setMaxHealth(this.health2);
- }
- if (this.player.hasPermission("viphealth.health3")) {
- this.player.setMaxHealth(this.health3);
- }
- if (this.player.hasPermission("viphealth.health4")) {
- this.player.setMaxHealth(this.health4);
- }
- if (this.player.hasPermission("viphealth.health5")) {
- this.player.setMaxHealth(this.health5);
- }
- if (this.player.hasPermission("viphealth.health6"))
- this.player.setMaxHealth(this.health6); }
- public boolean onCommand(CommandSender sender, Command cmd, String command, String[] args)
- {
- if (command.equalsIgnoreCase("viphealth")) {
- if ((sender instanceof Player)) {
- this.cmdp = getServer().getPlayer(sender.getName());
- if (args.length == 0) {
- this.cmdp.sendMessage("请正确使用指令");
- return false;
- }
- this.str = args[0];
- if (args.length == 3) {
- if (this.str.equalsIgnoreCase("set")) {
- this.pp = getServer().getPlayer(args[1]);
- this.pp.setMaxHealth(Double.valueOf(args[2]).doubleValue());
- this.pp.sendMessage("你的生命值已经被修改为了" + args[2]);
- this.cmdp.sendMessage("你成功把" + args[1] + "的生命值修改为" + args[2]);
- return true;
- }
- this.cmdp.sendMessage("请正确使用指令");
- return false;
- }
- this.cmdp.sendMessage("请正确使用指令");
- return false;
- }
- System.out.println("不能从控制台输入这个指令");
- }
- return false;
- }
- }
复制代码 即使未找到原帖 已有足够的理由相信此插件为非本人原创而发布为「原创插件」
请严肃处理
@qq525048187 @zuimc @Zuimc小酱
还有此插件:http://www.zuimc.com/thread-34078-1-1.html
在bukkit上找到了此插件http://dev.bukkit.org/bukkit-plugins/teamplugin/
|
评分
-
查看全部评分
|