MC-Market is now BuiltByBit. Read more

  • We're giving away $35,000 of prizes! Invite 2 friends to our Discord for free Premium! Learn more

RedMenus [Library] 1.02

Register now to download for free
Provides a simple functiona interface-based menu solution
Tags
Tags
None
This plugin is a menu library intended for use by my own plugin series, and other developers. On it's own it does nothing.

Provides POJOs for gson-based menu construction.

The TypedMenu class contains a TypedSelector. These are used to select objects outside of the menu logic that you can later use in the menu. This way you don't need to retrieve it twice.

Each menu has an amount of type arguments <T, U> etc. These are passed down to all the methods and fields. Included in these fields is a TypedSelector which is a thread safe key value store. It is used to select an object in one context (such as right before opening the menu), and retrieving it during menu construction, etc.

The way it's all laid out is as follows: each menu has a constructor called on the player opening it. Each menu has a MenuButton or TypedMenuButton which itself has a constructor function and click function. There is also a map of placeholder functions which are automatically applied to the button values.

Author

Author
Brendan Curry
Downloads
6
Views
326
First release
Last update
Rating
Not yet rated

More resources from Brendan Curry

Hibernate based 2fa with sha256 hashing
Not yet rated
0 purchases
Highly customizable player vaults that don't suck.
Not yet rated
1 purchase
asynchronous, hibernate-based DAO persistence
Not yet rated
4 downloads
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.