Version 3.!: New UI + Better Database Management

Details

  • Filename
    RewardPro.jar
  • Uploaded by
  • Uploaded
    Jun 8, 2017
  • Size
    80.30 KB
  • Downloads
    265
  • MD5
    643aa52aeb6b67639f08f7d785a5150d

Supported Bukkit Versions

  • 1.11
  • 1.10
  • 1.9
  • 1.8.1
  • 1.8
  • 1.8.3

Changelog

First of all thanks for the great reviews!
So, what is new in the Version 3.0
  • Database improvements! > Third normal form
  • FirstJoin / Choice Admin UI /reward choice
  • Now you can open the Presentman UI also with a Command (For the requested Citizens extension) /reward choice
  • Checks automatically if there are updates
  • You can use the Commands /reward or /rewardpro now
  • Command /friendpromote Fix
  • Command /onlineplayer extension
    • Now you can also use /reward onlineplayer
    • After the Command you have to enter a Number
      • The plugins searches the players which wear online in the entered time frame
      • After the number you can add 3 different search types
        • D = Day
        • W = Week
        • M = Month
  • Better help with the Command /reward help
  • Code cleaning
Important:
If you already use the plugin, you have to run the following SQL Commands to update your Database!
For SQLite you have to use a editor for example https://sqliteonline.com/
For MySQL you can run the SQL Commands online in your MyPhp Admin web Interface (or another solution).
 
  1. Install the new Plugin Version on your Server
  2. Restart your server
  3. Run the following command for the Player Database
INSERT INTO `RewardPro_Player`(`UUID`, `Name`, `LastJoin`, `FirstJoin`) (Select DailyReward.UUID,DailyReward.Name,DailyReward.LastJoin,(CASE
WHEN Choice.Choice1 LIKE "&3Refers_by_a_friend" THEN 5
WHEN Choice.Choice1 LIKE "&3Server liste" THEN 1
WHEN Choice.Choice1 LIKE "&3Twitter" THEN 4
WHEN Choice.Choice1 LIKE "&3Webseite" THEN 2
WHEN Choice.Choice1 LIKE "&3YouTube" THEN 3
END) from DailyReward left join Choice on Choice.UUID = DailyReward.UUID)<br /><br />4. Run the following command for the Player Database
INSERT INTO `RewardPro_Present`(`ID`, `VotingGes`, `LastVote`, `VotesTOD`, `Rank1`, `Rank2`, `Rank3`, `Rank4`, `Present`)
(SELECT RewardPro_Player.ID, Present.`VotingGes`, Present.`LastVote`, Present.`VotesTOD`, Present.`Rank1`, Present`Rank2`,
Present`Rank3`, Present.`Rank4`, Present.`Present` from Present join RewardPro_Player on Present.UUID = RewardPro_Player.UUID)

 

 
If you like the plugin, please rate it with 5 stars :)