1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved iProtector protects whole Plot World

Discussion in 'Plugin Help' started by WinterBuild7074, May 21, 2017.

  1. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I'm using iProtector, and MyPlot.

    The iProtector settings protect the whole Plot World, that I cannot even build on my own plot.
    Is there a way that MyPlot will override iProtector settings?

    My iProtector settings are (unprotected areas):
    God: False | Edit-Protection: True | Touch-Protection: False

    Plus, is there also a way to set the number of plots a player can get/claim for a rank (PurePerms)?
    Example, Guests can only claim 3 plots, but VIPs can get 5.
     
  2. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    You can use the permission myplot.claimplots.5, for example, to give a rank up to 5 plots.
    I haven't checked iProtector for a while, I'll take a look now.
     
    jasonwynn10 likes this.
  3. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    1. MyPlot does not check to see if events are cancelled by previous plugins according to this: https://github.com/jasonwynn10/MyPlot/blob/API3/src/MyPlot/EventListener.php#L118-L153
    2. The permission "myplot.claimplots" can be followed by ".AnyNumberHere" for specifically set plot counts according to this: https://github.com/jasonwynn10/MyPlot/blob/API3/src/MyPlot/MyPlot.php#L361-L380
     
    Awzaw likes this.
  4. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    iProtector and MyPlots work fine together for me, as @jasonwynn10 has confirmed with the code - I think your problem is that you have set Edit-Protection: True. The setting says 'Keep players from editing the world', so you need to set it to False, since you do not want to prevent people from editing unprotected areas.
     
    jasonwynn10 likes this.
  5. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I tried setting Edit to false, but I still cannot edit my plot.
     
  6. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    Can you post your config.yml and a link to the exact version of iProtector you are using?
     
  7. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    1.
    Code:
    # Config file for iProtector by LDX;
    
    # Settings for unprotected areas in worlds without specific settings:
    Default:
    
      # Keep players from getting hurt?
      God: true
    
      # Keep players from editing the world?
      Edit: true
    
      # Keep players from touching blocks and activating things like chests?
      Touch: false
    
    # Settings for unprotected areas in individual worlds:
    Worlds:
    
      PvP1:
    
        # Keep players from getting hurt?
        God: true
    
        # Keep players from editing the world?
        Edit: true
    
        # Keep players from touching blocks and activating things like chests?
        Touch: false
    
      Farming:
     
        # Keep players from getting hurt?
        God: true
    
        # Keep players from editing the world?
        Edit: false
    
        # Keep players from touching blocks and activating things like chests?
        Touch: false
    
      Plots:
     
        # Keep players from getting hurt?
        God: false
    
        # Keep players from editing the world?
        Edit: false
    
        # Keep players from touching blocks and activating things like chests?
        Touch: true
    
      Contest-Plots:
     
        # Keep players from getting hurt?
        God: false
    
        # Keep players from editing the world?
        Edit: false
    
        # Keep players from touching blocks and activating things like chests?
        Touch: true
    2. The newest I can find, https://github.com/LDX-MCPE/iProtector
     
  8. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    What happens with the global 'Default' 'Edit' set to false?
     
  9. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
  10. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    spawn protection?
     
  11. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I didn't protect the spawn in Plots world.
     
  12. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    The default spawn protection applies to all worlds, so try a plot further from spawn to be sure. If that still fails, try removing all your plugins except MyPlot and iProtector.
     
  13. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I set the default spawn protection to 4 only, it can't be the problem.
    I tried removing all my plugins except iProtector and MyPlot, but I still cannot edit the plot. I tried removing iProtector afterwards, and it works again. That means, iProtector makes the problem.
     
  14. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    Could you post the console output from server startup?
     
  15. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
  16. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    There're no errors or anything like that. Is there something wrong with iProtector, then? But what?
     
  17. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    `Touch: true` will prevent placing blocks. Probably also breaking blocks for good measure, since it doesn't check for right/left-click in PlayerInteractEvent, so it'll trigger anti-instabreak.
     
    Awzaw and WinterBuild7074 like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.