π
1 file
4,588 chars
π
pasted-code-1778002773104.txt
txt
110 lines
βΆ
pasted-code-1778002773104.txt
txt
110 lines
sOrder Plugin
I want to create a modern INVENTORY GUI-based Minecraft order plugin. Where players can create/place orders and other players can complete the order and earn money.
In the main INVENTORY GUI of this order plugin, there will be Sort, Filter, Order Refresh, Search, and Your Orders buttons. There will also be Next and Previous page buttons.
Sort, Filter a option thake agulu image theke dekho and working and logic base babe add koro
On the 1st page, only the Next page button will be shown and the Previous page button will not be shown. On the last page, only the Previous page button will be shown and the Next page button will not be shown. If there is only a single page, then neither Next nor Previous buttons will be shown.
When clicking the Your Orders button, a player order list INVENTORY GUI will open where the playerβs orders will be shown. From there, the player can create a new order using the New Order button.
[If there are no orders, the New Order button will appear in slot 13. If there are existing orders, the New Order button will appear in slot 22. If the order limit is reached, then the New Order button will not be shown.]
When clicking the New Order button, a INVENTORY GUI will open where the player can select items, amount (how many items/blocks/resources are needed), and price (price per single item). Clicking Confirm will place the order and clicking Cancel will cancel it.
Clicking on Items will open a INVENTORY GUI where all Minecraft items (based on server version) will be available for selection. That menu will also include Sort, Filter, Search buttons along with Next and Previous page buttons.
[On the 1st page, only the Next button will show. On the last page, only the Previous button will show. If only one page exists, no Next or Previous buttons will be shown.]
If a player selects items like weapons, tools, or armor, there will be an option to add enchantments. A INVENTORY GUI will show all possible enchantments and their levels for that item, and the player can choose any enchantment and level.
When a player creates an order and another player completes it, the original player can collect the items. In the My Orders list, left-clicking an order will open a collect items INVENTORY GUI where the player can click a Drop button/option to receive the items.
In the My Orders list, clicking an order will also show Order Edit and Order Cancel/Delete options.
Clicking Edit will open a INVENTORY GUI where the player can modify items, select new items, set a new price, and see Cancel, Confirm, and Back buttons.
Clicking Cancel/Delete will show order details along with Confirm and Cancel buttons.
There will also be a INVENTORY GUI-based admin system. Admins can delete user orders, clear all orders, and view all order history and details.
There will be commands and permissions.
There will also be a Toggle System: Delivery Mode/message, Tax, Sounds Toggle permissions. Only ranks with permission can toggle these, others cannot.
[Extra feature β All GUIs can have borders. If border is enabled, feature items will work within the border layout and other slots will behave normally. If border is disabled, the full INVENTORY GUI (all slots) will function normally.]
All buttons and items will be unobtainable. No player can obtain any of them.
Make all GUIs and all messages 101% configurable. Everything must be configurable from INVENTORY GUI configuration files.
Configurable options include:
- Title
- Rows
- Material
- Name
- Lore
- Slots
- Buttons
- Actions
- Sounds
- Messages
- Prefix
- Layout
- Borders
- Icons
- Permissions display
- Pagination settings
- Animations (if any)
Every INVENTORY GUI element (buttons, items, fillers, borders, functional items) must be fully customizable via config.
All messages must be configurable, including:
- Chat messages
- Actionbar messages
- Titles/Subtitles
- INVENTORY GUI messages (names, lores, descriptions)
Add full HEX color code support using this format:
- rrggbb
Also support:
- Legacy color codes (&a, &b, etc.)
- Gradient support (if possible)
- Placeholder support (like %player%, %amount%, %price%, etc.)
No hardcoded values β everything must be editable from configuration files.
generate proper useful command, permission and placeholder(if needed)
order limit prompt dau jei permission amra luckperms role a dite parboo. like sorder.5 dile max 5 ta order place korte parbe aro kom babe
Kodari can make mistakes. Review important code before using.
Files
No files in this session
Code