Sueta

CustomInventoriesAPI

1.19

With this plugin you can create CustomInventories really really really easy.

·Plugin
  1. 1.19latestPlaceholderAPI Support!Dec 31, 2018
    Now the plugin supports PlaceholderAPI! You can use CustomInventories's variables on any plugin that uses PlaceholderAPI '%custominventories_{kills}% for example, also you can use PlaceholderAPI variables in CustomInventorie's menus. If you use SoundSkyWars please update!
    10 downloads
  2. 1.18Read before updating!Aug 10, 2018
    If you use this version for anything else than SoundSkyWars don't update until you're sure the plugin you use is updated, this version changes everything it won't work with any plugin compiled for the 1.17 version or before. This version adds updating inventories and personal updating inventories, you can check all the new source on github. TT
    67 downloads
  3. 1.17Another fix for StringSerializerJun 8, 2017
    StringSerializer wasn't detecting the flags added correctly, now it's fixed.
    470 downloads
  4. 1.16Update if you use SoundSkyWarsMay 26, 2017
    Fixed a problem with CustomItem cloning.
    51 downloads
  5. 1.15Minor changesMay 15, 2017
    If you use SoundSkyWars please update!
    31 downloads
  6. 1.4Fixed serversNov 11, 2016
    Now servers pinging should work again, they were bugged.
    46 downloads
  7. 1.13A change to PatternsSep 16, 2016
    Patterns now use a List instead of a Set, because Set doesn't keep it's position so the pattern will be different.
    101 downloads
  8. 1.11Forgot to remove debug message :PJul 12, 2016
    Debug messages removed.
    155 downloads
  9. 1.10Fixed bug with PaginationJun 28, 2016
    Now pagination doesn't return 0 when using totalPages() and the amount of values are lower than half of the pageSize.
    44 downloads
  10. CustomInventoriesAPI 1.10Ping servers and new skulls systemJun 6, 2016
    Now you can register servers likes this : Code (Java): CustomInventories. getServerManager ( ). register ( new ServerInfo ( new InetSocketAddress ( "localhost", 25565 ), "localhost", 20 ) ) ; //First here we define the InetSocketAddress, after the name for the server and finally the update delay (it is on ticks); //After we can use these variables : //{online:localhost} //{max_players:localhost} //{motd:localhost} //{status:localhost} //The status is by default like this : &aOnline&f and &4Offline&f //It can be changed like this : Messages. ONLINE. set ( "&2Online" ) ; Messages. OFFLINE. set ( "&cOffline" ) ; //Also if you want to replace those variables from a String you can do it like this : String replaced = ServerVariable. replace (text ) ; And the new skull system : Code (Java): //Now we can set the skull in 3 differents ways, using the player name, a [URL='http://textures.minecraft.net/texture/d2f6c07a326def984e7…']url to it's skin[/URL], or the skin texture: CustomItem customItem = new CustomItem (Material. SKULLITEM, 1, ( short ) 3 ) ; customItem. setSkullData ( new SkullData ( "URL", SkullDataType. URL ) ) ; customItem. setSkullData ( new SkullData ( "TEXTURE", SkullDataType. TEXTURE ) ) ; customItem. setSkullData ( new SkullData ( "NAME", SkullDataType. NAME ) ) ; //Also the serializer has been updated to support this new skull system, and if you don't want to use //CustomItem you can do it like this : SkullData data = new SkullData (value, type ) ; data. apply (itemStack ) ; //or (it's the same) ItemReflections. setTexture (itemStack, data ) ; BTW, i forgot to add it to the tittle, but now there's a InventoryTemplate system, with it you can do cools things like this : Code (Java): //It will create an infinite Inventory system, it will be divided by pages, etc... However this won't work if you copy and paste it, it's just an example. InventoryTemplate template = new InventoryTemplate (title, size ) ; Iterator <InventoryLine > lines = template. getLines ( ). iterator ( ) ; Iterator <Icon > icons = getPage (page ). iterator ( ) ; while (lines. hasNext ( ) && icons. hasNext ( ) ) { InventoryLine line = lines. next ( ) ; int position = 0 ; while (icons. hasNext ( ) && position < 9 ) { line. setIcon (position ++, icons. next ( ) ) ; } } InventoryLine lastLine = template. getLastLine ( ) ; lastLine. setIcon ( 0, getBefore (page - 1 ) ) ; lastLine. setIcon ( 8, getNext (page + 1 ) ) ; for ( int i = 1 ; 8 > i ; i ++ ) { lastLine. setIcon (i, new NormalIcon (CustomItem. builder (Material. STAINED_GLASS_PANE, 1, ( short ) 15 ). setName ( "" ). build ( ) ) ) ; } return template. createInventory ( ) ;
    44 downloads
  11. 1.9New inventories SystemMay 19, 2016
    Now there's only one Inventory type, ill add in future versions some stuff related to ping server.
    54 downloads
  12. 1.7Tons of new featuringsDec 31, 2015
    Tons of update, info not updated. Added source to github : https://github.com/MaTaMoR/CustomInventoriesAPI
    158 downloads
  13. 2.0Inmense updateSep 8, 2015
    - Changed almost everything, examples are not updated
    34 downloads
  14. 1.0Aug 30, 2015
    26 downloads

Similar projects

Plugin →