CParticles

Discussion in 'Plugin Requests' started by Skrubzy, Dec 22, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    Skrubzy

    Plugin category: Miscellaneous

    Minecraft version: Spigot 1.9.4

    Suggested name: CParticles

    What I want: When a player has a container opened and can't move in game (ESC Menu, Inventory, chest, etc) A red exclamation point should appear above their head in particles. I want the containers to be editable in config.yml

    Config Example:
    Code:
    Top: Red
    Bottom: Red
    ## Colors: Red, White, Green, Blue, Purple, Pink, Orange, Yellow, Black
    *other possible colors*
    
    ESC Menu: True
    Inventory: True
    Chest: True
    Trapped Chest: True
    Ender Chest: True
    Dropper: True
    Hopper: True
    
    *I can't think of any other containers*
    
    "Top" is the long part of the exclamation point and "Bottom" is the dot!


    Ideas for commands: No commands needed for this plugin

    Ideas for permissions: No commands needed for this plugin

    When I'd like it by: ASAP
     
  2. Offline

    timtower Administrator Administrator Moderator

    @Skrubzy We can't check all screens though I believe, the ESC menu is the one I am concerned about.
    For anybody out there: feel free to prove me wrong though.
     
  3. Offline

    I Al Istannen

    @timtower @Skrubzy
    You can do some tricks with Achivements for the normal inventory:
    Code:java
    1. {
    2. this.getNetHandler().addToSendQueue(new C16PacketClientStatus(C16PacketClientStatus.EnumState.OPEN_INVENTORY_ACHIEVEMENT));
    3. this.displayGuiScreen(new GuiInventory(this.thePlayer));
    4. }



    But the escape menu:

    Code:java
    1. /**
    2. * Displays the ingame menu
    3. */
    4. public void displayInGameMenu() {
    5. if (this.currentScreen == null) {
    6. this.displayGuiScreen(new GuiIngameMenu());
    7.  
    8. if (this.isSingleplayer() && !this.theIntegratedServer.getPublic()) {
    9. this.mcSoundHandler.pauseSounds();
    10. }
    11. }
    12. }


    no packets in sight
     
Thread Status:
Not open for further replies.

Share This Page