Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/polymeta/wondertrade
WonderTrader for cobblemon working on both fabric and forge!
https://github.com/polymeta/wondertrade
Last synced: 2 months ago
JSON representation
WonderTrader for cobblemon working on both fabric and forge!
- Host: GitHub
- URL: https://github.com/polymeta/wondertrade
- Owner: Polymeta
- License: mit
- Created: 2023-03-31T15:41:45.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-29T13:18:15.000Z (5 months ago)
- Last Synced: 2024-07-29T16:52:37.003Z (5 months ago)
- Language: Java
- Homepage:
- Size: 112 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WonderTrade
WonderTrader for Cobblemon working on both fabric and forge!## Commands & Permissions
| Command | Permission |
|-------------------------------------------------|------------------------------------|
| `/wondertrade [--confirm]` OR `/wt` | `wondertrade.command.trade.base` |
| Bypass wondertrade cooldown | `wondertrade.command.trade.bypass` |
| `/regenerate []` OR `/regeneratepool` | `wondertrade.command.regenerate` |
| `/reloadwondertrade` | `wondertrade.command.reload` |## Config explanation
### General
- `poolSize` - How big the wondertrade pool is supposed to be. Can be overridden with the regenerate command if desired. Only used when pool is empty.
- `cooldownEnabled` - Whether to enable cool-downs on the wondertrade command
- `cooldown` - Cool-down in **MINUTES**. Only used if above value is set to `true`
- `blacklist` - A list of Pokémon properties that can not be wondertraded, an example entry would be "cobblemon:charmander", but you can even get more complex as we use the pokemon properties under the hood. Refer to the wondertrade pool for more examples!
- `poolMinLevel` & `poolMaxLevel` - Sets the level range of the pool that gets applied during generation of the pool
- _Note_: changing these values will require either manual fixing of the pool or running the /regenerate command to ensure all Pokémon in the pool are within the new level range
- `adjustNewPokemonToLevelRange` - adjust Pokémon that get traded to be within the above level range
- _Example_: You have a poolMinLevel = 5 and a poolMaxLevel = 15, if a player trades a level 20 Pokémon, it gets inserted into the pool with level 15 instead### Message Config
As a preface, this plugin uses [MiniMessage](https://docs.advntr.dev/minimessage/format.html) to parse these messages.
It's a powerful api allowing for various formatting options for you as user.
Refer to the default messages to see what placeholders are allowed where.- `wonderTradeFeedback` - The confirmation question that gets sent to the player when they do /wondertrade without confirmation
- be sure to leave the `` tag in as everything in that allows the player to click it to confirm the trade
- `cooldownFeedback` - message that gets sent when the player is on cooldown
- `pokemonNotAllowed` - message that gets sent when a player attempts to trade a forbidden pokemon
- `successFeedback` - message that get sent on successful trade
- `broadcastPokemonAdded` and `broadcastShinyPokemonAdded` - broadcast messages that gets sent to all players when Pokémon get added to the trade pool
- Don't want to broadcast normal Pokémon or at all? - Just set the specific broadcast message to something blank like "", which then turns broadcasting for this off