[ADMN] InstaMode v1.0.1 - Permissions-ified gamemodes [1.2.5-R1.0]

Discussion in 'Inactive/Unsupported Plugins' started by Kaikz, Sep 16, 2011.

  1. Offline

    Kaikz

    alexanderpas and GmK like this.
  2. Offline

    King_KYl3

    U are such a kid 5?
     
  3. Offline

    Kaikz

    It's my plugin, I can do as I wish with it. I only develop plugins that I use on my server, and only implement features I will use on said server. So no, you are being the childish one here, sir.
     
    x0trane0x likes this.
  4. Offline

    number1_Master

    whenever i type /mode survival or /mode creative my screen (in game) says /mode <mode> and nothing happens, there are no errors from the log
     
  5. Offline

    Kaikz

    You need to set permissions.
     
  6. Offline

    Kaikz

    Added to BukkitDev, I'll upload source code in a bit.
     
  7. Offline

    PhantomServer

    This plugin would be soooo cool if there was MultiVerse+[Yeti]Permissions 3.1.6 support.
    I have a Freebuild world and a survival world and I don't want my plaers to change to creative on FreeBuild world then stay as Creative on Survival world. Hope u consider this
     
  8. Offline

    Kaikz

    Multiverse can handle that, and no, I'm not doing Permissions 3.x support. It's dead. Use PermissionsEx.
     
  9. Offline

    Buckethead

    in gamemode 0 and 1 are what. and how do i stop others from using it

    what happens if hey try to use built in version like /gamemode 0 or 1

    i just got this put in perms and got a bukkit sad message or sumthin

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  10. Offline

    Kaikz

    ...
    1) /gamemode player 0/1 have their own permissions. http://wiki.bukkit.org/Vanilla_permissions
    2) They need the permission above to use /gamemode
    3) You must be using a SuperPerms plugin, such as PermissionsEx or PermissionsBukkit.
     
  11. Offline

    Buckethead

    ok i have pex. am using this plugin and no one has a node for creative or survival y can they still switch at free will

    and i meant 0 and 1 are what modes. 0 = creative os surival?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  12. Offline

    Kaikz

    Then you've set them up wrong. If your players are OP, then they can use /gamemode freely. If not, you set up the permissions wrong. It works just fine on my server.
     
  13. Offline

    Buckethead

    everything else i have is right. i know how perms work and how to format them. idk y this particular thing
     
  14. Offline

    Kaikz

    It's something wrong on your end then. Moderators on my server are using this just fine with no issues.
     
  15. Offline

    Buckethead

    meh
     
  16. Offline

    Azlodin

    I am using PEX 1.15 with InstaMode 1.0.1, but for some reason when a user (who has been granted proper permission) attempts to use the /mode command it responds with "/mode <mode>". I have tried granting instamode.survival, instamode.creative, and instamode.* but none of them make a difference.
    I can't for the life of me figure out why it is not working. It does however work if someone is granted all permissions using the * wildcard (Admins). The debug mode of PEX is not sheding any light either.
    Can you give any suggestions?
     
  17. Offline

    Buckethead

    do all ur other perms work fine? u could upload ur configs?
     
  18. Offline

    Kaikz

  19. Offline

    Azlodin

  20. Offline

    Kaikz

    It's something on your end then. I just tried with this PermissionsEx config:
    Show Spoiler

    Code:
    groups:
        Admin:
            default: false
            prefix: '&f&4[Admin] '
            permissions:
            - modifyworld.*
            - instamode.survival
            - instamode.creative
            suffix: '&f: '
        Guest:
            default: true
            prefix: '&f&b[Guest] '
            permissions:
            - modifyworld.*
            suffix: '&f: '
    users:
        Kaikz:
            worlds:
                PwnCraft:
                    group:
                    - Admin

    Along with '*' and 'instamode.*'. All worked. There's nothing I can do if it works just fine for me.
     
  21. Offline

    Azlodin

    Was it tried with PermissionsEX 1.15 and CB 1317? I was able to get InstaMode to work properly by reverting the PEX version to 1.14.

    Edit: Using 1317, PEX 1.15, your config (changing my name and world name) and only PEX & InstaMode installed, it still does not function properly. When PEX is reverted to 1.14 it works fine. So the issue lies in InstaModes hook into PEX or PEX's reading of the InstaMode nodes.
     
  22. Offline

    Kaikz

    Locally: CraftBukkit 1318, PEX 1.15
    Production: CraftBukkit 1318, PEX 1.14.
    (1318 fixes the plugin disable bug)

    I don't hook into PermissionsEx, I only use SuperPerms. Hell, if you put it into a bPermissions or PermissionsBukkit server it should work as intended.
     
  23. Offline

    Azlodin

    Darn, then for the life of me I can not figure out why it is not working for me with PEX 1.15. I'll probably have to bite the bullet and switch the PermissionsBukkit.
     
  24. Offline

    Kaikz

    Bukkit RB #1337, PEX 1.15, InstaMode 1.0.1, and the moderator group with - instamode.* can use the commands just fine. Must be something on your end, possibly something conflicting.
     
  25. Offline

    luckyslayer92

    First of all, i would like to say that i am not retarded and i know how to use pex. Second, instamode does not work after updating my server.

    1. latest recommended bukkit version
    2. latest insamode.jar
    3. latest pex

    this is my exact permission that i plugged into my moderator group:
    - instamode.* <-- does not work
    - instamode.creative <-- does not work
    - instamode.survival <-- does not work


    I have tried everything i could to get instamode working. The only way i can get it to work is if i use my Serverowner group

    - '*'
     
  26. Offline

    Kaikz

    Latest PEX? Are you sure you're not using the one that breaks permissions? I'm using it on my server right now, and it works just fine.
     
  27. Offline

    luckyslayer92


    I think it was the latest stable version 1.15 or something.


    EDIT:

    Ok i updated pex to the latest dev build on the forum post and its working again. You might want to edit in a small note on your main post, so new instamode users don't freak out.
     
  28. Offline

    Kaikz

    I'm using standard 1.15 and it works fine. Blame PermissionsEx for breaking things.
     
  29. Offline

    adde

    Sourcecode?? :D
     
  30. Offline

    Kaikz

Share This Page