PlayerVIP
PlayerVIP
PlayerVIP is a new VIP-Plugin to promote Members to VIPs (or Premiums). The Difference to all other VIP-Plugins: The VIP code allows your players for a certain time to be VIP. If the time expires, the players returned to the Member Rank. You can also create with this Plugin an instant Payment System for your Server to sell VIP-Codes. But notice: Every VIP-Code can used only one time.
Requirements
- LordLib
- Java 7
- Vault (optional but recommend)
Installation
- Download the Plugin
- Download LordLib
- Put both jar Files into your plugins Folder
- Start your Server (at First Startup there will be an Error. This is normal, because you dont already configured this Plugin)
- Configure PlayerVIP
- (Optional) Configure LordLib
- restart or reload PlayerVIP or the Server
- Its ready to use
Development Builds
Development builds of this project can be acquired at the provided continuous integration server.
These builds have not been approved by the BukkitDev staff. Use them at your own risk.
There are no support, if you are using Development Builds. They can not work correctly or can crash your PlayerVIP-Plugin and/or the used Database
Supported Languages
- English (en)
- German (de)
- Spanish (es) - Thanks to Airos18
You created a language File for another language? You can send it to me and i will implement it into my Plugin with credits to you
ErrorLogger
The ErrorLogger is a new Feature since PlayerVIP 3.0.0-b57. This will log all your Activities with this Plugin (only with this Plugin) for a short time.
If there will be thrown an Error: The ErrorLogger will notice this in the most case and write the informations into the plugins/PlayerVIP/error.log.
You can disable the ErrorLogger in your config.yml File. Also you can allow the ErrorLogger to auto upload the error.log file to my Server (lordsill.de) to allow me to fix these errors (Auto Upload is disabled by default. This can be enabled in plugins/LordLib/config.yml)
To help me to fix errors, its recommend to send me the error.log file (you can do this also manually by copy the content and paste it into the Ticket Section)
Updater
This Plugin can connect to curseforge.com to check for newer Versions. This Plugin can only check for a newer Version and its not able to auto-download them. You can enable/disable this feature in the config.yml (EnableFeatures -> Updater: true (enable) or false (disable)).
YouTube
Tutorial - Creating PlayerVIP Addons (English) by LordPlays
Tutorial - PlayerVIP Addons erstellen (German) by LordPlays
German by LordPlays (Version: 3.0.1-b67)
English by LordPlays (Version: 3.0.1-b64)
Spanish by Yan Francisco Perez (Version: 2.2.2)
German by LordDead24 (Version: 2.1.0)
Thai by ShakeStudio (Version: 1.5.1)
Payment Implementation
Paypal German by LordPlays
Update
Version 3.2.0 (Release-Date: Unknown)
- Fast VIPSync (sync in less than 1 second of all your servers, less ressources than SyncType 1)
- Better /vip list (search for special Groups)
- Option to change from UUID to internal PlayerID (this will cause no problems with onlinemode=false)
- Fix problem with CheckType=1, PlayerJoinCheck for multiple groups
- Command to start a VIP-Check
Unknown Versions:
- Update Payment Page - Add support for Paysafecard (not sure currently)
- Website to handle VIP (grant, purge, show Status of VIP from all Players) [Optional, you dont need to join your server to set VIP]
Metrics
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Opting out of this service can be done by editing plugins/PluginMetrics/config.yml and changing opt-out to true.
@AriKira
问下,怎么设置不同组的vip? 能给出配置文件怎么弄吗? qq:1505610274
very nice plugin!
@AriKira
文件储存比较方便..因为做的是游戏服.跨服权限同步.表示已经解决问题~
VIPSync: true
AddGroup:
Add: 'pex user <player> group set <group>'
Remove: 'pex user <player> group set <group>'
SetGroup:
Set: 'pex user <player> group set <group>'
@ss1793388
对了 PEX 插件 我用的是数据库存储 为了跨服方便,但是 如果你是用文件存储的话 我就不确定了.... 建议你去试试
插件报错,我看了下 是有的,但是不影响...如果你发现了什么问题 可以和我说下,我看看有没有什么解决办法
@AriKira
Of the pex plugin i use the mysql.
@ss1793388
啊咧.... 不是啊.. 星号 * 是通配符,在pex里面可以代表所有世界 如果你在配置里面填写的是
因为vip插件,会忽略星号 * ,所以如果你不这样设置 '*' ,在星号* 前后加上小写单引号'' 就会被忽略, 那么vip插件在加权限的时候,只会给你当前所在世界加入权限。 举个例子, 如果你在世界Lobby开通会员 那么插件执行的命令是:
这样玩家去其他的非同名世界,权限就会没有。
@AriKira
话说'pex user <player> group add <group> '*' ' 后面的这个星号加了会报错吧'*'!?
Sorry about my english..I‘m chinese
I think i have find some problems.. If you use the premissionsEX , with mutiple world permissions. If you want player get the vip for all the world maybe you need to set the config like this:
The text below is in chinese...
如果你正在使用premissionEX插件,并且不同世界不同权限(或者是使用数据库,多服共享权限)。但是你想让玩家在任意一个世界开通VIP,就能够在所有世界通用,请将你的config文件修改成如下
XD 这个问题是我今天测试的时候发现的, 尝试了好久才找到这个解决办法希望能够给大家带来帮助
Fehler.
Ich benutze die neuste PlayerVIP Jenkins und Lordlib Jenkins Version (beides uuid) doch wenn ich einen vip kommt ein gebe kommt nur dies;
[22:17:46 INFO]: FelixCrafterHD issued server command: /vip addvip
[22:17:46 WARN]: java.lang.NullPointerException
[22:17:46 WARN]: at de.lordsill.playervip.commands.VIPCommandExecuter.correctUsage(VIPCommandExecuter.java:88)
[22:17:46 WARN]: at de.lordsill.playervip.commands.PlayerCommands.addvip(PlayerCommands.java:248)
[22:17:46 WARN]: at de.lordsill.playervip.commands.VIPCommandExecuter.onCommand(VIPCommandExecuter.java:42)
[22:17:46 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[22:17:46 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180)
@lordsill
If you can add the feature that each vip gets a unique chest when its buyed (/vip chest) it will be so cool
Awesome Plugin
error console when start v3.1.0-b96 http://pastebin.com/EeVKAz8c
@Requnael
its already reported and changed back (in the next version) to the method from b67
Only PlayerVIP v3.0.1-b67 work with GroupManager
@lordsill
Can not work with Plugins GroupManager
GroupManager Commands: AddGroup: Add: 'manuaddsub <player> <group>' Remove: 'manudelsub <player> <group>' SetGroup: Set: 'manuadd <player> <group>'
Can work with Plugins PermissionsEx
PermissionsEx Commands: AddGroup: Add: 'pex user <player> group add <group>' Remove: 'pex user <player> group remove <group>' SetGroup: Set: 'pex user <player> group set <group>'
@nsound2006
wihout any informations i can do nothing
I had to do it to make it work with GroupManager.
not working GroupManager
PlayerVIP v3.1.0-b96 for CB 1.7.9-
@MegaLostLP
Dieses ist kein Error von PlayerVIP. Dieser Error gehört zur LordLib (und dieses bekommt die nächsten Tage ein neues Release, womit dann dieses Problem hoffentlich wieder aus dem weg geräumt ist.)
Hallo, wenn ich das mit Buycraft koplle klappt das zwar, der richtige Befehl wird auch ausgeführt, aber es kommt immer der folgende Error mit dem Ende dass der Spiele angeblich nicht gefunden wurde. Obwohl er manchmal sogar online war:
[16:06:12] [pool-12-thread-5/INFO]: [Buycraft] Package checker successfully executed. [16:06:12] [Server thread/INFO]: [Buycraft] Executing command 'vip setvip RushPlaysHD vip 30' on behalf of user 'RushPlaysHD'. [16:06:15] [Server thread/WARN]: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) [16:06:15] [Server thread/WARN]: at org.sqlite.DB.newSQLException(DB.java:383) [16:06:15] [Server thread/WARN]: at org.sqlite.DB.newSQLException(DB.java:387) [16:06:15] [Server thread/WARN]: at org.sqlite.DB.throwex(DB.java:374) [16:06:15] [Server thread/WARN]: at org.sqlite.NativeDB.prepare(Native Method) [16:06:15] [Server thread/WARN]: at org.sqlite.DB.prepare(DB.java:123) [16:06:15] [Server thread/WARN]: at org.sqlite.Stmt.execute(Stmt.java:113) [16:06:15] [Server thread/WARN]: at lib.lordsill.sql.SQLite.query(SQLite.java:101) [16:06:15] [Server thread/WARN]: at lib.lordsill.util.UUIDManager.init(UUIDManager.java:32) [16:06:15] [Server thread/WARN]: at lib.lordsill.util.UUIDManager.getUUIDByPlayername(UUIDManager.java:113) [16:06:15] [Server thread/WARN]: at de.lordsill.playervip.commands.ConsoleCommands.setvip(ConsoleCommands.java:105) [16:06:15] [Server thread/WARN]: at de.lordsill.playervip.commands.VIPCommandExecuter.onCommand(VIPCommandExecuter.java:53) [16:06:15] [Server thread/WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [16:06:15] [Server thread/WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [16:06:15] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:726) [16:06:15] [Server thread/WARN]: at org.bukkit.Bukkit.dispatchCommand(Bukkit.java:314) [16:06:15] [Server thread/WARN]: at net.buycraft.tasks.CommandExecuteTask.run(CommandExecuteTask.java:128) [16:06:15] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftTask.run(CraftTask.java:58) [16:06:15] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [16:06:15] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:635) [16:06:15] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:283) [16:06:15] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:583) [16:06:15] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:489) [16:06:15] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [16:06:15] [Server thread/WARN]: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) [16:06:15] [Server thread/WARN]: at org.sqlite.DB.newSQLException(DB.java:383) [16:06:15] [Server thread/WARN]: at org.sqlite.DB.newSQLException(DB.java:387) [16:06:15] [Server thread/WARN]: at org.sqlite.DB.throwex(DB.java:374) [16:06:15] [Server thread/WARN]: at org.sqlite.NativeDB.prepare(Native Method) [16:06:15] [Server thread/WARN]: at org.sqlite.DB.prepare(DB.java:123) [16:06:15] [Server thread/WARN]: at org.sqlite.Stmt.execute(Stmt.java:113) [16:06:15] [Server thread/WARN]: at lib.lordsill.sql.SQLite.query(SQLite.java:101) [16:06:15] [Server thread/WARN]: at lib.lordsill.util.UUIDManager.getUUIDByPlayername(UUIDManager.java:115) [16:06:15] [Server thread/WARN]: at de.lordsill.playervip.commands.ConsoleCommands.setvip(ConsoleCommands.java:105) [16:06:15] [Server thread/WARN]: at de.lordsill.playervip.commands.VIPCommandExecuter.onCommand(VIPCommandExecuter.java:53) [16:06:15] [Server thread/WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [16:06:15] [Server thread/WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [16:06:15] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:726) [16:06:15] [Server thread/WARN]: at org.bukkit.Bukkit.dispatchCommand(Bukkit.java:314) [16:06:15] [Server thread/WARN]: at net.buycraft.tasks.CommandExecuteTask.run(CommandExecuteTask.java:128) [16:06:15] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftTask.run(CraftTask.java:58) [16:06:15] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [16:06:15] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:635) [16:06:15] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:283) [16:06:15] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:583) [16:06:15] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:489) [16:06:15] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [16:06:15] [Server thread/INFO]: [PlayerVIP] Der Spieler wurde nicht gefunden: RushPlaysHD
@MegaLostLP
Die Änderung muss der Entwickler von Bungeecord machen.
Oder bis ich die LordLib auf MySQL umstelle (Ist bereits gewünscht worden, aber den Code hab ich erst am Dienstag wieder)
Und wie soll das bitte gehen?