最MC论坛
标题:
有关插件剽窃问题
[打印本页]
作者:
嘟嘟
时间:
2016-5-27 06:30
标题:
有关插件剽窃问题
本帖最后由 嘟嘟 于 2016-5-27 06:36 编辑
http://www.zuimc.com/thread-33764-1-1.html
在此插件源码中找到如下代码
getLogger().info("欢迎使用K为Xian_ge编写VIP生命值插件");
复制代码
且我在插件的plugin.yml中
发现明确写有
author: Key
复制代码
也就是说 作者并非连名字都随便打的
此
主题发布者
换句话说 有剽窃嫌疑
另外有一点 在此贴中语言有些幼稚
但在代码中所显现的水平与其不相符
有剽窃嫌疑
如果非剽窃
这个主题的作者也在插件的信息中写了一个英文
事实上根据反编译后的源码 这是一个纯中文插件
源码如下
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/
作者:
小豹猫
时间:
2016-5-27 14:38
本帖最后由 小豹猫 于 2016-5-27 14:39 编辑
并未有充足的证据证明
@dhzdhz
剽窃插件,但其违反了版规条例,作删帖处理。
2-1:帖内至少拥有一张插件截图,若为前置插件或原帖无图则无需
2-2:帖内必须介绍插件指令和权限,若为前置插件或无指令插件则无需
关于teamplugin 已做警告+删帖处理
感谢您的举报!
@qq525048187
可以关闭帖子了~
欢迎光临 最MC论坛 (http://www.zuimc.com/)
Powered by Discuz! X3.2