SpinToWin-Trial | Funny reward game | Dynamic rate, cost con
3.7.1Custom button - Texture UI - Custom frame - Last reward - Folia support - and so on!
3.7.1latest3.7.1 - FixAug 30, 2025 Enligsh: · Fixed the issue where the normal Paper server would be recognized as a Folia server after Paper-1.21.8-Build # 53. 中文: · 修复了自 Paper-1.21.8-Build #53 以后会将正常 Paper 服务端识别为 Folia 服务端的问题。3.7.0d3.7.0d - FixAug 23, 2025 · Fixed change-item option in ItemFormat does not work in latest version of MythicChanger.3.7.0b3.7.0b - Minor UpdateAug 13, 2025 · Small fixes.3.7.03.7.0 - Color Code Update & Save Item UpdateJul 27, 2025 Important Notice: · Due to Mojang changing the order logic of the resource pack model display in versions 1.21.6 and above, the material of the edge will overwrite the reward items in version 1.21.6. Therefore, on the server in version 1.21.6, we will disable all edges. Please understand that this is due to Mojang's limitation and not our problem! · For more info, check out here: [MC-298978] Item model definitions usingoversized_in_guitag ignores item model display translation and instead uses inventory slot order 重要通知: · 由于 Mojang 在 1.21.6 以上版本更改了资源包模型显示的顺序逻辑,因此 edge 的材质在 1.21.6 版本上会覆盖掉奖励物品,因此在 1.21.6 版本的服务器上,我们会禁用所有的 edge,请谅解,这是 Mojang 的限制导致的,这不是我们的问题! · 有关更多信息,请见这里:[MC-298978] Item model definitions usingoversized_in_guitag ignores item model display translation and instead uses inventory slot order English: Be careful! This version has changed a lot of code. It has not been tested by many users. Unless you are running a small server, please do not use it for production. · Added 1.21.6/7/8 support. · Added full MiniMessage support. Except for a few cases, the plugin supports the use of the MiniMessage format almost everywhere. · For Paper server users above 1.17.1, you will automatically use the MiniMessage format and the Color Parser built into the plugin will no longer be available. · However, we certainly consider that it is quite troublesome to convert the built-in Color Parser of the plugin into MiniMessage, and many users still like our Color Parser. In the past, two characters (&e) could solve the problem, but now multiple characters (<yellow>) are required. Therefore, Paper users above 1.17.1 can still use the Built-in Color Parser, and we will automatically convert it to MiniMessage format for you. · The plugin will be split into two versions, Paper version and Spigot version. · Paper users with versions above 1.17.1 will use the Paper version, otherwise you will use the Spigot version. They just use different APIs, and the other functions they provide are basically the same, unless it is clearly stated in the Wiki that this function is only available in the Paper version. · For this reason, the paper-api section of the config.yml file will no longer be available. · Fixed an issue where the plugin would fail in versions lower than 1.17.1, because the plugin incorrectly called some code that was only available in versions 1.17.1 and above. · The items folder of the plugin will be treated as a separate item management configuration file, just like the items folder of the MythicMobs plugin. · The format of each item configuration file in the items folder follows ItemFormat. · In ItemFormat, an item option has been added that can be used to deserialize items, so ItemFormat can now directly read items that you have previously saved. · The /mt saveitem command has been improved, and you can now add bukkit or itemformat at the end of the command to determine how we will save the item. · Added component and nbt options to ItemFormat. 中文: 小心!这个版本更改了大量的代码,它没有经过许多用户的实际测试,除非你运行的是小型服务器,否则请不要将其用于生产环境. · 新增了 1.21.6/7/8 版本的支持。 · 新增了完全MiniMessage支持,除了少数情况外,插件几乎所有的地方都支持使用MiniMessage格式。 · 对于1.17.1以上的Paper服务端用户,您将自动使用MiniMessage格式,插件内置的Color Parser将不再可用。 · 不过,我们当然考虑到将插件内置的Color Parser转换成MiniMessage相当麻烦,而且很多用户还是喜欢我们的Color Parser,在以前,两个字符(&e)就能解决的事情,现在需要多个字符(<yellow>)。因此,1.17.1以上的Paper用户依然可用使用Built-in Color Parser,我们将会帮你自动将其转换为MiniMessage格式。 · 插件将拆分为两个版本,分别是Paper版本和Spigot版本。 · 1.17.1以上版本的Paper用户将使用Paper版本,否则您将使用Spigot版本。它们只是调用的API不一样,其他提供的功能基本一致,除非在Wiki明确表述这个功能只在Paper版本中提供。 · 因为这个原因,config.yml文件中的paper-api部分将被不再可用。 · 修复了插件在低于1.17.1版本的情况下会出现错误的问题,这是因为插件错误调用了一些只在1.17.1以上版本提供的代码。 · 插件的items文件夹将作为单独的物品管理配置文件,就像MythicMobs插件的items文件夹那样。 · items文件夹的各个物品配置文件的格式遵循ItemFormat。 · 在ItemFormat中,新增item选项,可用于反序列化物品,因此,ItemFormat现在可以直接读取您先前已保存的物品。 · /mt saveitem 指令做出了改进,你现在可以在指令的最后添加bukkit或者itemformat以决定我们以何种形式保存物品。 · 为ItemFormat加入了component和nbt选项。3.6.43.6.4 - Minor UpdateJun 30, 2025 · Fixed an issue where the plugin would fail in versions lower than 1.17.1, because the plugin incorrectly called some code that was only available in versions 1.17.1 and above.3.6.33.6.3 - Minor UpdateJun 5, 2025 English: · For users of versions lower than 1.16, we have added a new function to automatically convert Hex colors to common colors to avoid the situation where the colors of plugin messages look very strange due to calling Hex colors. · Fix some minor issues. 中文: · 对于低于版本1.16的用户,我们新增了自动将Hex色转换为common色的功能,避免出现调用Hex色导致插件消息的颜色看起来非常诡异。 · 一些小问题的修复。3.6.1Mar 22, 2025 · Fixed 1.17 versions support.3.6.0Feb 15, 2025 · Added 1.21.4 version support. · Mainly added 1.21.4 resource pack format support, for plugin itself, it already support 1.21.4 before this update.3.5.11Feb 9, 2025 · Fixed plugin print error when use custom NBT data in ItemFormat if MythicChanger not installed.3.5.10-AlphaFeb 9, 2025 · Added custom nbt support in ItemFormat if you have installed NBTAPI in your server. · Recoded ItemFormat sell method and fixed some issues related to this feature.3.5.9Jan 30, 2025 · Item Format update: Fixed some item format value do not correctly parsed.3.5.8Jan 25, 2025 · Item Format update: Fixed the issue where enchanted glow was parsed as a hide tool tip in some cases.3.5.7Jan 3, 2025 · Fixed condition do not check in some case.3.5.6Jan 3, 2025 · Build-in free GUI texture into the plugin without having to go to the Wiki to download it. · Expansion Pack Vol.1 is not included in plugin.3.5.5Jan 1, 2025 · Happy new year! This update bring a fix for EcoArmor hook.3.5.4Dec 28, 2024 · Fixed hook item price check break.3.5.3Dec 22, 2024 · Fixed limit data didn't save when use MySQL database.3.5.2Dec 15, 2024 · Added Nexo item support. · Fixed Item Format error on 1.20.6 version.3.5.1Dec 12, 2024 · Fixed last reward can not obtain in Folia servers.3.5.0Dec 10, 2024 · Added Folia support. · Fixed console_command, op_command, player_command action do not work if server does not install MythicChanger. · Added new actiom: mythicmobs_spawn.3.4.4Dec 1, 2024 · Item Format update: · Added support for set material tag in tool rules. · Added support for set multi same attribute modifier.3.4.3Nov 9, 2024 · Added new Item Foramt arg: damage resistance, equippable. · Added new action type: conditional.3.4.2Nov 4, 2024 · Added 1.21.2/3 version support.3.4.1Nov 2, 2024 · Updated default UI config.3.3.1Oct 16, 2024 · Fixed errorManager be null error.3.3.0Oct 14, 2024 · Added /s2w givesaveitem command. · Added new save item method, this new method can 100% save item data, no data will lose. (Paper and 1.15+ server only) · Added paper-api.skull and paper-api.save-item option in config.yml file.3.2.4Sep 19, 2024 · Fixed skull can not display in latest 1.21.1 server core.3.2.3Sep 8, 2024 · Fixed HIDE_ATTRIBUTES item flag does not work for item does not have attribute modifier in 1.20.6 and higher version. · This is a bug from Mojang and we can do nothing for this. Plugin will auto add empty attribute modifier if you add hide attributes flag to solve this problem.3.2.2Sep 7, 2024 · Now you can use change-item section in Item Format.3.2.1Aug 26, 2024 · Added NeigeItems and eco support in price.3.2.0Aug 25, 2024 · Added new price type: Item Match. This new price type also require MythicChanger.3.1.53.1.5 - Small fixAug 12, 2024 · Fixed Item Format does not work in 1.19~1.19.2.3.1.43.1.4 - 1.21.1 supportAug 11, 2024 · Added 1.21.1 support in Item Format.3.1.33.1.3 - Small fixesAug 9, 2024 · Fixed plugin print error when using command tab complete in some case.3.1.23.1.2 - Small fixesAug 3, 2024 · Fixed when use geneerateitemformat command, plugin sometimes print error in 1.21 version.3.1.13.1.1 - Bug fixJul 30, 2024 · Fixed ItemFormat parser does not work in version below 1.19.3.1.0Jul 20, 2024 · Added Standard Localized Item Name Translate feature. · Due to the fact that the Minecraft server does not store client language files, the plugin cannot know the name of the item you hold displayed on your client. Therefore, in most scenarios where the item name is displayed, we directly display its English name. Now this new feature will automatically download the client language file and translate your item name. · You have to setup this feature first to enable this feature. · Removed check-full-drop option in config.yml. Plugin now will always try drop reward items when player's inventory is full.3.0.103.0.10 - Hook UpdateJul 12, 2024 · Added VotingPlugin economy hook support. · Added ExecutableItems item hook support.3.0.93.0.9 - Hook UpdateJul 12, 2024 · Added VotingPlugin economy hook support. · Added ExecutableItems item hook support.3.0.8Jun 26, 2024 · Added price.ignore-item-format-keys option, useful for people want to use fuzzy checking item price. · Fixed ItemFormat sell method does not work in some case. · If this plugin print error on pre-1.21 server, for now it should be solved.3.0.73.0.7 - 1.20.6 and 1.21 supportJun 23, 2024 · Added 1.20.6 and 1.21 support · Added FoodComponent, ToolComponent and JukeboxPlayableComponent support in Item Format.3.0.6Jun 17, 2024 · Changed UI configs options key, don't worry, old UI config can still use in this version. · Fixed plugin ger error when use wrong UI id in /s2w open command. · Changed default empty-amount option value to 1 in UI config to fix auto reset system doesn't work as well with default value to 0.3.0.5May 29, 2024 · Fixed plugin print error when only use /s2w command without any args.3.0.4May 22, 2024 · Added auto-save.hide-message option, if set to true, we will no longer display auto save message at console.3.0.3May 6, 2024 · Fixed effect and entity_spawn at remote location action does not work as well.3.0.2Apr 30, 2024 · Updated default config.yml file.3.0.1Apr 30, 2024 · Added new option: item-price-mode. · Added new item price mode: ItemFormat, instead of require item must 100% equal than selled item, if 2 item's Item Format is same, we will also consider the item can be used. You can consider it as: fuzzy matching. · Fixed item price does not work issue since 3.0.0. · Renamed use-uuid-save-data option to data-save-mode.3.0.0Apr 29, 2024 · No longer support use Mini Message at item. · Added full new Item Format support. · Rewrite command manager codes. · Start use new language manager.2.9.5Apr 25, 2024 · Added 1.20.5 support.2.9.4Apr 18, 2024 · Now hex color code in PlaceholderAPI will also be parsed.2.9.3bApr 11, 2024 · Now repackaging EasySQL dependencies.2.9.3Mar 8, 2024 · Improved the speed of obtaining third-party plugin items.2.9.2Mar 7, 2024 · Removed double hook item check. Becuase our NBT check method has been used for months and no one said it has problems, so now we remove the second hook item check way and only use NBT check method for now. This will also improve plugin performance in some case.2.9.1Feb 29, 2024 · Removed check-condition option in config.yml, this option will always be true after this version.2.9.0-BETAJan 29, 2024 · Added spin-ui.can-not-close-when-spinning option in config.yml. If enabled, player can not close spin UI when spinning. · Changed some config key, but old version's key is still supported. · Fixed component support.2.8.9Jan 28, 2024 · Fixed history gui title.2.8.8Jan 28, 2024 · Improved vanilla item name display.2.8.7Jan 25, 2024 · Let us say Hello to adventure component. Start from this version, SpinToWin will fully support text using component format, including: · Message send by our plugins. · Item from our plugins. · GUI title in our plugins. · The component support use custom font, style, click(hover) event and so on. It's more modern but not easy to use. · Legacy color format is still support if you didn't enable use-component option in config.yml. · Added support for sell suspicious sand/gravel which includes loot item. · Now GUI title will also support use PlaceholderAPI's placeholder.2.8.6Jan 16, 2024 · Readded %amount% and %times% placeholder in reward items.2.8.5Jan 16, 2024 · Fixed vanilla item with more than 1 amount price check since 2.8.0. · Improved double hook item price check feature.2.8.4Jan 13, 2024 · Fixed dynamic amount.2.8.3Jan 13, 2024 · After version 2.8.0, the Item Format used the name option as the display name for the item. However, previous versions used the display option as the display name for the item. Now, the plugin will read both options simultaneously to avoid situations where the new version cannot recognize the corresponding custom item name after the old version configuration is loaded.2.8.2Jan 13, 2024 · No longer package EasySQL project, plugin will auto download it after first load. Plugin is 300Kb+ smaller than before.2.8.1Jan 12, 2024 · Added NeigeItems translate hook. · Now plugin will auto translate vanilla item display name in reward or price configs if you have NeigeItems installed. · Download NeigeItems here: Releases · ankhorg/NeigeItems-Kotlin (github.com) · Fixed %display% placeholder always display item type name instead of custom display name.2.8.0Jan 11, 2024 · Fixed op player will lose op after using op_command action. · Now items option use ItemFormat simple version. · For SpinToWin, you can now use flags, enchants option in item option. · Cleaned the codes. · Removed /s2w updateconfigs command. · Added use-component-title option in config.yml, default to false, if set to true, we will use TextComponent in the GUI title. · Added empty_amount option in UI configs, can set the checked empty amount in auto_close_when_empty and auto_reset_when_empty amount, default to 0, set to 13 to make the UI can reset after each spin. · Added font option in UI configs, can set the GUI title font.2.7.2Jan 10, 2024 · Fixed price check problem encountered while detecting newer versions of MMOItems. · This lead to if your server has MMOItems, plugin will has item price check problem with EcoItems, EcoArmor, NeigeItems.2.7.1Jan 5, 2024 · Improved math calculate codes. · Now if the reward item you set in config does not exist, we will auto use STONE to replace it instead put error in console.2.7.0Jan 4, 2024 · Removed announcements and commands option in reward config, please use actions option instead. · Added new action: op_command, can run command as op.2.6.4Dec 29, 2023 · Removed GamePoints price hook, use CoinsEngine instead.2.6.3Dec 28, 2023 · Added new action: entity_spawn. · Spawn a zombie: entity_spawn: ZOMBIE · Spawn a zombie at specified location: entity_spawn: ZOMBIE;;world;;0;;0;;0 · Added new action: mythicmobs_spawn. · Spawn a MM mob: mythicmobs_spawn: Magic_Skeleton;;1 (1 is level) · Spawn a MM mob at specified location: mythicmobs_spawn: Magic_Skeleton;;world;;0;;0;;02.6.2Dec 23, 2023 · Improved language system. · Now if plugin find your language file missing some keys, plugin will auto generate default value for it so you no need to manually update langauge file anymore. · Now message.yml can be deleted after first load, if you delete it, plugin will generate new language file after next load. (not reload)2.6.1Nov 16, 2023 · Rollback some changes to fixes error with data save system.2.6.0Nov 7, 2023 · Improved plugin performance in the server. For free version: · Removed MySQL database limit, now free version can also use MySQL database! · Removed third plugin hook limit, now free version can also use third plugin like MMOItems, EcoItems, Vault and so on!2.5.8Nov 6, 2023 · Added auto save feature for local data save. (MySQL is already auto save)2.5.7Nov 2, 2023 · Improved placeholder condition. · Added *= check symbol, which means placeholder is not equal with specified value. · Added *!= check symbol, which means placeholder is not contains value string. · Now =,>,>=,<,<= check symbol supports decimal.2.5.6Oct 24, 2023 · Now math calculates use Crunch instead.2.5.5Oct 22, 2023 · Added new action: sound. Those updates are premium version only: · Added RoyaleEconomy price support. · Removed lower case support in economy-plugin and hook-plugin option, now the 2 option value must 100% same as plugin name.2.5.3Oct 8, 2023 · Now if language message is empty, plugin won't send message to player with blank content.2.5.2Sep 30, 2023 · Now plugin will close inventory after try reset player data. v.2.5.1 Changes: · Updated plugin.yml softdepend.2.5.0Sep 19, 2023 · Added action system. Old commands and announcements option can still be used in this version, however, we will remove them in future updates. · Added custom button feature, you can now add more buttons in spin UI. · Added RedisEconomy price support.2.4.3Sep 7, 2023 · Fixed "exp" type price does not work.2.4.2Sep 6, 2023 · Added built-in placeholder support in button display name.2.4.1Sep 5, 2023 · Added PlaceholderAPI support in button display name.2.4.0Sep 3, 2023 · New hook item price rework! Now SpinToWin will use fuzzy matching item NBT method to check item price. This means: · Plugin have dynamic lore (like EcoItems use PlaceholderAPI in lore), stat (like MMOItems) will 100% support, your dynamic items won't get ignored by price system anymore just becuase they have different lore, NBT or so on. · This new check system is in BETA, if players fail to be checked by this new price system, old price system will still work for them, this means plugin now have 2 ways check plugin item price!2.3.3Sep 3, 2023 · Added PlaceholderAPI support in button item lore.2.3.2Sep 2, 2023 · Added auto_reset_timer_after_first_spin option in UI config, if set to a number above 0, UI data will auto be reseted after the seconds you set here. Below changes are premium version only: · Added PEconomy plugin price hook.2.3.0Aug 27, 2023 · Added a "start-apply" option for each price selection. Now, whenever a player spins in the UI, a "spin times" value is recorded. Our plugin offers different prices based on the number of spins, and previously, you could only specify the range of spins for a price to take effect using the "apply" option. With the new "start-apply" option, you can set a range with just the starting value, without an endpoint. For example, the price will remain effective after the 5th spin. · Introduced the "last_reward_times" option in the UI configuration. In the past, when the "reserve" option was enabled, players couldn't claim the last reward because the previously claimed rewards wouldn't disappear. Now, you can use this value to allow players to receive the last reward after exceeding a certain number of spins. · Reverted the mechanism from the previous version where, if the number of rewards in the UI exceeded the number of UI slots, it would randomly select a suitable number of rewards. This mechanism now only takes effect when the "reserve" option is enabled. Otherwise, the plugin will always select a fixed number of rewards, ignoring any extras.2.2.7Aug 26, 2023 Changelog: · Now plugin support you set unlimited rewards for a spin UI, if your rewards amount is more than reward slots amount, plugin will randomly pick the rewards. (Random picked rewards won't saved, this means players can just reopen the spin UI to get new random pick) Those changes are premium version only. · Added EcoBits plugin prices hook. · Added eco item prices hook. · Fixed EcoItems item prices hook. (You MUST update your EcoItems plugin to latest version because it's author changed its API)2.2.4Aug 13, 2023 · Added spin-button-cooldown option in config.yml file. (This feature has been added before, this update just add a option to customize it) · Fixed the issue of hook plugin item amount in prices option. · Fixed player sometimes get 2 rewards when they click spin button too quick. · Fixed color codes does not work well at placeholder option in UI prices configs. · Fixed plugin still generate new models for Expansion Pack frames and icons even they are already exists. How to update to this version? Added those contents in your config.yml file, if not, it still OK, plugin will generate a default value for new options. Code (YAML): # Set to -1 to disable cooldown system. spin-button-cooldown : 202.2.1Aug 12, 2023 · Fixed plugin still generates yml data even you are using MySQL database.2.2.0Aug 12, 2023 This update includes changes to the configuration file. Please read this update log carefully. Since the release of v2, we have been focusing on improving the user update experience. Therefore, despite significant changes to the configuration file, you can continue using the old file format without making any adjustments. However, we cannot guarantee that the support for the old configuration file format will be maintained in future updates. · In this update, we have made adjustments to the settings related to adding Lore to all reward items in SpinToWin. We realized that there was a limitation where only one line of Lore could be added. Therefore, in this update, we have made the following changes: · The options "last-reward-item-add-lore" and "common-reward-item-add-lore" have been moved from the "message.yml" file to the "config.yml" file. Additionally, these options have been changed to List type, allowing for multiple lines of Lore to be added. · In the "config.yml" file, we have added a new option called "add-lore-at-first-or-last". This option will determine whether the added Lore should be placed at the beginning or the end. · Previously, we were using the player's name as the data storage object, but we realized that this approach is insecure as players can change their usernames. Therefore, we have made a change and now we use the player's UUID as the storage object. · We have added a new option called "use-uuid-save-data" in the "config.yml" file. If you wish to continue using the player's name as the storage object, please set this option to false. For users of older versions, if you have not added this option to your "config.yml" file, the plugin will assume that this option is set to false. · Fixed PlaceholderAPI and color code does not working well in announcement option in UI configs. · Fixed player data not saved when server stopping. · Fixed config.yml not being reloaded with /s2w reload. · Now plugin will close all player's spin UI when plugin is reloading or server is stopping. · Now plugin will still try connect to MySQL database if your password is empty. How to update to this version? You should add those contents to config.yml: Code (YAML): # If set to false, we will use player name save data. use-uuid-save-data : true # If set to true, we will add lore at first line. # If set to false, we will add lore at last line. add-lore-at-first-or-last : false last-reward-item-add-lore : - '&3 (Will obtain if all rewards have claimed! )' common-reward-item-add-lore: - '&7Rate : %rate%%'2.1.0Aug 8, 2023 · Finally fixed plugin always generate new custom model data for textures that already registered custom model data for them. · Added %display% and %amount% built-in placeholder. You can use them in commands, announcements, price placeholder and so on! · Added new placeholder option format: placeholders.<Use Times>. Code (YAML): placeholders: 1 : "First Spin Display" 2 : "You have spined 1 time, the second time?" 3 : "Good luck!" · Now replace item can use hook plugin item. Code (YAML): replace: hook-plugin : Oraxen hook-item : test amount : 1 · Now display, lore, cmd option also support modify hook plugin item, like: Code (YAML): rewards: 1: hook-plugin : ItemsAdder hook-item : 'cosmetics:icr_cream' display : '& #8b5cf6Ice Cream' lore : - '&f' - '&fBackpack Cosmetics' commands : - 'lp user %player_name% permission set cosmetics.ice_cream' give-item : false amount : 1 rates: default : 1 vip : 5 rates-conditions: vip: - 'permission : group.vip'2.0.12Aug 2, 2023 Changelog: · Fixed plugin print error on disable. Hot to update to this version: · Just copy to /plugins/ folder2.0.11Aug 1, 2023 · Hotfix for the resource pack.2.0.10Aug 1, 2023 Changelog: · Fixed plugin always generate new custom model data even the icon/frame item model already generated. · Improved error system, now plugin won't spam your console if its catch error. How to update to this version? · Just drop to /plugins/ folders.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta