remove

Discussion in 'Discussion' started by kiko, May 17, 2016.

  1. kiko
    Offline

    kiko New Member Member

    Joined:
    May 16, 2016
    Messages:
    12
    Likes Received:
    0
    hello
    does he exist a plugin in fougerite to remove part of home
    thanks for your answerd (and sorry for my bad english)
     
    #1
  2. PearlJ
    Offline

    PearlJ Contributor Contributor

    Joined:
    Aug 14, 2014
    Messages:
    86
    Likes Received:
    6
  3. kiko
    Offline

    kiko New Member Member

    Joined:
    May 16, 2016
    Messages:
    12
    Likes Received:
    0
    oooh thanks a lot
     
    #3
  4. kiko
    Offline

    kiko New Member Member

    Joined:
    May 16, 2016
    Messages:
    12
    Likes Received:
    0
    but how to autorize floating house??
     
    #4
  5. Jakkee
    Offline

    Jakkee Plugin Developer Plugin Developer Contributor

    Joined:
    Jul 28, 2014
    Messages:
    1,450
    Likes Received:
    136
    do /remove and then use an uber hatchet
    or if you are using AdminPlus and you have AdminRemove Enabled in the settings.ini, then you can use want ever weapon you have chosen in the settings to remove (Without command)
     
    #5
  6. kiko
    Offline

    kiko New Member Member

    Joined:
    May 16, 2016
    Messages:
    12
    Likes Received:
    0
    ok but but i want this for all players, it's possible ??? (sorry again for my bad english)
    thanks
     
    #6
  7. Jakkee
    Offline

    Jakkee Plugin Developer Plugin Developer Contributor

    Joined:
    Jul 28, 2014
    Messages:
    1,450
    Likes Received:
    136
    Yes, Very possible.
    You'll have to edit the file to do that.
    Change this:
    Code (Python):
    #Line 124
        def IsEligible(self, HurtEvent):
            try:
                Eligible = HurtEvent.Entity.Object._master.ComponentCarryingWeight(HurtEvent.Entity.Object)
                return not (Eligible)
            except:
                return True
    to this:
    Code (Python):
        def IsEligible(self, HurtEvent):
            return True
     
    #7
  8. Pompeyo
    Offline

    Pompeyo Plugin Developer Plugin Developer

    Joined:
    Jan 6, 2018
    Messages:
    63
    Likes Received:
    6
    Hi !!!

    How can I configure destroySystem to be used only by administrator, or is there another plugin that contains the old /remove?
     
    #8
  9. salva
    Offline

    salva Friendly self-taught developer Administrator

    Joined:
    Jan 31, 2016
    Messages:
    573
    Likes Received:
    88

    Well simply by editing the plugin as a minimum with NotePad ++ (but I do not recommend it), what you should do is edit this line ....
    https://github.com/dretax/Python-Pl...tePlugins/DestroySystem/DestroySystem.py#L205

    But I do not recommend it if your programming knowledge is null, anyway ... try it and if you get errors you will know that you did something wrong ..... greetings
     
    #9
    • Like Like x 1
  10. Pompeyo
    Offline

    Pompeyo Plugin Developer Plugin Developer

    Joined:
    Jan 6, 2018
    Messages:
    63
    Likes Received:
    6
    @salva
    ok i will try to follow your advice, if something goes wrong immediately i will notice it. Thank you !!
     
    #10
  11. salva
    Offline

    salva Friendly self-taught developer Administrator

    Joined:
    Jan 31, 2016
    Messages:
    573
    Likes Received:
    88
    And if you get it right ..... you will take the pleasure and want to modify and edit all, xddd, you're welcome
     
    #11
    • Like Like x 1

Share This Page