Skip to content
Obliviated edited this page May 25, 2022 · 12 revisions

Welcome to the ObliviateInvs wiki!

Beggining to using ObliviateInvs

Step 1

Define and initalize inventory API.

public class Test extends JavaPlugin {

	private final InventoryAPI inventoryAPI = new InventoryAPI();

	@Override
	public void onEnable() {
		inventoryAPI.init();
	}

}

Step 2

Create your GUI class

public class TestGUI extends GUI {
	
	public TestGUI(Player player) {
		               //id      //title     //row
		super(player, "test-gui", "Test Title", 3);
	}
	
}

Step 3

Open your GUI to player

new TestGUI(player).open();

You've completed basic pieces! Visit other wiki pages.

Icon Usage

https://github.com/Obliviated/ObliviateInvs/wiki/Icons

Advanced Slots

https://github.com/Obliviated/ObliviateInvs/wiki/Advanced-Slots

Pagination

https://github.com/Obliviated/ObliviateInvs/wiki/Pagination

Clone this wiki locally