-
Posts
12 -
Joined
-
Last visited
Content Type
Profiles
Warranty Claims
Downloads
Forums
Store
Support
DOWNLOADS EXTRA
Services
Everything posted by Stuffy
-
Not seeing the values of the Rewards, more than 1 reward not being given
Stuffy replied to Rust Admin's Support Request in Support
Hello, Rust Admin! I can't fix this problem right now due to lack of time, but I'll try to see what's wrong in the near future if the tips below don't help. Thanks for understanding. About mistakes: 1) The caption under the pictures should be displayed now, but the font is too small, which is why the plugin cannot render it, or the problem is in choosing the color, which is why the text merges with the background. 2) This plugin has a random reward function, which is called if there are more than one reward. It should be understood that random values in programs are not completely random, which can manifest itself in the same random behavior (identical rewards). during development, I tested the randomness in the plugin, but I might have missed some cases. My advice is to check the work of issuing this award again (since the award does not depend on the previous award, I have had cases where the award was given out 6-8 times in a row), I also recommend trying, swapping the awards and checking the result. Stuffy! -
- 5 comments
-
- 1
-
-
- #onlinerewards
- #rewards
-
(and 4 more)
Tagged with:
-
Not retaining rewards that have been entered
Stuffy replied to Rust Admin's Support Request in Support
Changed Status from Pending to Not a Bug -
Hello, Rust Admin! I will add the ability to change /rmenu in the configuration. It seems to me that the appearance of the panel immediately after receiving the award will not be very convenient. Perhaps you meant pop-up notifications. Yes, I will add the ability to turn on/off notifications in the config. If you have any more suggestions or I misunderstood you, feel free to write. Stuffy!
- 5 comments
-
- #onlinerewards
- #rewards
-
(and 4 more)
Tagged with:
-
Not retaining rewards that have been entered
Stuffy replied to Rust Admin's Support Request in Support
Hello, Rust Admin! OnlineRewards contains data file and config file. The data file stores information about the player (id, player's total online, awards that the player received). The config file stores the plugin settings and a list of awards (this is done in order to enable administrators to speed up the process of installing awards). Both of these files are not deleted after restarting the server or the plugin (o.reload OnlineRewards /c.reload OnlineRewards). The problem you are facing is due to the fact that you either accidentally deleted the config file or filled in the config file incorrectly. In these cases, the plugin writes "Error reading configuration: ..." to the server's command line and creates the default config. Try adding two awards using "/setreward" to see how the awards are saved in the config. After that, fill it out in the same way (if you decide to add rewards through the config). After that, OnlineRewards will work. If you have any questions or encounter any problems, do not hesitate to write to me, I will answer all your questions in detail. Stuffy. -
I'm working on a plugin and I have a question. Are there any free currency icons that I can use in my plugin?
-
Version 1.0.2
29 downloads
Allows administrators to set rewards and players to receive rewards for time spent on the server Features: This plugin will provide your players with rewards for the time they spend in the game. Allows you to set one or more rewards that are issued randomly. Allows you to set currency as reward. Allows you to bind GUI. Allows you to change "menu open" command (After changing the command, delete the lang file and restart the plugin.). Allows you to set your server and currency logo, and also set currency name. Allows you enable/disable the reward notification. Has an informative and beautiful GUI. GUI can be fully customized using config. Commands: /rmenu - open 'Rewards for Online' menu /setreward - set reward(s) /removereward - remove reward /showrewards - opens list of time and reward Configuration file: { "Time rewards (in seconds)": {}, "Command to open the rewards menu": "menu", "GUI Settings": { "Main Panel Background": "0.1 0.1 0.1 0.95", "Main Panel Material": "assets/content/ui/uibackgroundblur-ingamemenu.mat", "Info Panel Material": "assets/content/ui/uibackgroundblur-ingamemenu.mat", "Info Panel Background Color": "0.1 0.1 0.1 1", "Info Panel Font": "robotocondensed-bold.ttf", "Title Color": "0.95 0.95 0.95 1", "Title Font": "robotocondensed-bold.ttf", "Title Font Size": 26, "Text Color": "0.8 0.8 0.8 1", "Text Font Size": 14, "Text Font": "robotocondensed-bold.ttf", "Timer Text Font": "robotocondensed-bold.ttf", "Button Text Font Size": 11, "Button Text Font (Claim/wait/claimed)": "robotocondensed-bold.ttf", "Close Button Font": "robotocondensed-bold.ttf", "Close Button Font Size": 14, "Close Button Color": "1.0 0.4 0.4 1", "Button Claim Color": "0.3 0.6 0.2 1", "Button Wait Color": "0.7 0.3 0.2 1", "Button Claimed Color": "0.4 0.4 0.4 1", "Button Text Color": "1 1 1 1", "Reward Button Text Color": "1 1 1 1", "Card Background": "0.15 0.15 0.15 0.7", "Card Time Color": "0.9 0.9 0.9 1", "Card Reward Color": "1 1 1 1", "Icon Color": "1 1 1 1", "Reward Item Text Color": "0.9 0.9 0.9 1", "Reward Item Font Size": 10, "Page Number Font": "RobotoCondensed-Bold.ttf", "Page Number Font Size": 14, "Page Number Color": "0.8 0.8 0.8 1", "Right Switch Page Button Color": "0.3 0.3 0.3 0.8", "Left Switch Page Button Color": "0.3 0.3 0.3 0.8", "Dividing Line": "0.3 0.3 0.3 0.5", "Fade in number (0f - 1f)": 0.2 }, "Title text": "Your server name!", "Currency Image URL (for ImageLibrary)": "https://github.com/StuffyWhip/Icons/blob/main/Coins.png?raw=true", "Logo Image URL (for ImageLibrary)": "https://i.imgur.com/znQvBMi.png", "Currency key (what you write in /setreward)": "coins", "Currency display name (what shows in menu)": "coins", "Show help message on connect?": true, "Enable chat notification when reward is available?": true, "Close button sound": "assets/bundled/prefabs/fx/notice/loot.drag.dropsuccess.fx.prefab", "Item received sound": "assets/bundled/prefabs/fx/notice/loot.drag.dropsuccess.fx.prefab", "Coins received sound": "assets/bundled/prefabs/fx/notice/loot.drag.dropsuccess.fx.prefab", "Error sound": "assets/prefabs/locks/keypad/effects/lock.code.denied.prefab", "Page switch sound": "assets/bundled/prefabs/fx/notice/loot.drag.dropsuccess.fx.prefab", "Open info pannel sound": "assets/bundled/prefabs/fx/notice/loot.drag.dropsuccess.fx.prefab" } Lang file: { "NoPermission": "You don't have permission to use this command!", "ItemNotFound": "Item with shortname '{0}' not found.", "CmdUsage": "Usage: {0}", "SetRewardUsage": "/setreward <time_seconds> <item1_shortname> <amount1> [<item2_shortname> <amount2> ...]", "SetRewardInvalidFormat": "Invalid format for item '{0}'. Specify a valid item shortname and positive integer amount.", "SetRewardNoRewards": "You didn't specify any valid rewards.", "SetRewardSuccess": "Reward set for {0} seconds: {1}", "RemoveRewardUsage": "/removereward <time_seconds>", "RemoveRewardSuccess": "Reward for {0} seconds removed.", "RemoveRewardNotFound": "Reward for {0} seconds not found.", "ClaimErrorNoRewardExists": "This reward does not exist or is empty.", "ClaimErrorAlreadyClaimed": "This reward has already been claimed.", "ClaimErrorNotEnoughTime": "Not enough online time to claim this reward.", "ClaimSuccessItem": "<color=#81D4FA>Received:</color> {0} x{1}", "ClaimSuccessCoins": "<color=#81D4FA>Received:</color> {0} {1}", "ClaimInventoryFull": "<color=#FFCC80>Inventory full!</color> Item {0} x{1} dropped nearby.", "ClaimErrorNoArgs": "No reward time specified.", "GUIPlayerOnlineTime": "Total online time: {0}", "GUIStuffy": "by Stuffy", "GUINoRewardsConfigured": "No rewards configured by admin yet.", "GUIButtonClaim": "RECEIVE", "GUIButtonWait": "WAIT", "GUIButtonClaimed": "✔ RECEIVED", "GUICloseButton": "✗ CLOSE", "0s": "0s", "TimeDaySuffix": "d", "TimeHourSuffix": "h", "TimeMinuteSuffix": "m", "TimeSecondSuffix": "s", "RewardInfoTitle": "Rewards for {0}:", "Close": "Close", "RewardFor": "Reward for {0}:", "RandomRewardFor": "Random Reward for {0}:", "HelpMessage": "Use <color=#FFD700>/{0}</color> to open the rewards menu. You can bind a key: <color=#FFD700>bind <key> {0}</color>", "RewardAvailableNotify": "<color=#81D4FA>A new reward is available!</color> Use <color=#FFD700>/{0}</color> to open the menu and claim it." } Plugin Demo: Icons for currency: You can use ready-made icons for currency: 1) Coins icon: https://github.com/StuffyWhip/Icons/blob/main/Coins.png?raw=true 2) Banknote icon: https://i.ibb.co/NZnjSFz/kuyura.png FAQ: Q: Where can I find "shortname" to set a reward? A: https://rusthelp.com/tools/admin/item-list Q: Where can I find "Materials" or sound effects to customizate my GUI? A: You can find it here: https://github.com/OrangeWulf/Rust-Docs/tree/master/Extended$9.99- 5 comments
-
- #onlinerewards
- #rewards
-
(and 4 more)
Tagged with:
-
fixed, i guess it's good now. thanks for advice
-
Hello, I uploaded a plugin. But it still hasn't passed the review from curator. Could you tell me how much longer to wait?. Thank you