1. These forums are being retired. Please ask all questions and help threads and any other type of discussions on GitHub. During this time, new threads and user registrations have been disabled.

1.23 (obsolete) TSReward 1.0.1.0

Allows people to claim SEconomy curency for voting for the server on terraria-servers.com

  1. Ancientgods
    API Version:
    1.20
    TShock Version:
    4.3.5
    Source URL:
    https://github.com/ancientgods/TSReward/tree/master/TSReward
    If you had this plugin before, and your previous version was lower than API 1.23, THE CONFIG FILE WILL BREAK, please DELETE your old config file and let the plugin create a new one!


    Description

    This plugin allows players to claim SEconomy currency when they have voted on terraria-servers.com by using a command.
    New: added the ability to execute commands upon claiming a reward.

    Commands
    /reward - checks if a user has voted, if so, give them a reward. (Vote is marked as claimed after doing so, which means this can only be used once a day).
    /tsreload - reloads the config file

    Permission
    tsreward.reload - ability to use /tsreload

    How does it work?
    Download the plugin and put it in your serverplugins folder (this requires a server restart).
    After doing so edit the config file (TSReward.json) and fill in your server key at the top.

    Where do I obtain the server key?
    Click here (Requires an account and a server listed on terraria-servers.com)
    And look for "Server API Key".

    Example config file
    Code:
    Code:
    {
      "ServerKey": "ServerKeyGoesHere", <------ Put your server key found in above link here
      "SEconomyReward": 1000, <----- the amount of SEconomy currency players will receive upon claiming their reward.
      "AnnounceOnReceive": true, <----- Announce the Seconomy transaction to the player receiving the reward Eg: "You gained 68 copper for voting on terraria-servers.com"
      "Commands": [ <------ a list of commands that will be run upon claiming a reward
        "/heal %playername%",
        "/firework %playername%"
      ],
      "VoteNotFoundMessage": { <------- the message that is displayed when the player hasn't voted yet.
        "Color": {
          "R": 40,
          "G": 160,
          "B": 240
        },
        "Text": [
          "Vote not found!",
          "If you haven't voted yet, please go to terraria-servers.com",
          "and vote for the server to receive ingame rewards!"
        ]
      },
      "OnRewardClaimMessage": { <------ the message that is displayed when
        "Color": {
          "R": 40,
          "G": 160,
          "B": 240
        },
        "Text": [
          "Thank you for voting on terraria-servers.com",
          "We really appreciate it!"
        ]
      },
      "ShowIntervalMessage": true, <------ toggles the interval message
      "IntervalInSeconds": 300, <------- interval of the message (in seconds)
      "IntervalMessage": { <----- message displayed on the interval
        "Color": {
          "R": 40,
          "G": 160,
          "B": 240
        },
        "Text": [
          "Vote on terraria-servers.com and receive 1000 coins!",
          "After voting you can use the command /reward!"
        ]
      }
    }
    
    If you had this plugin before, and your previous version was lower than API 1.23, THE CONFIG FILE WILL BREAK, please DELETE your old config file and let the plugin create a new one!
    IamUSER likes this.

Recent Updates

  1. Added multi-server support
  2. Updated for 1.3.0.7
  3. Updated for 1.3

Recent Reviews

  1. JoakimL
    JoakimL
    5/5,
    Version: 1.0.0.2
    Awesome plugin! Simple as that. You download it, put it into the plugin folder, put in the server key and bam! It's done.