Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Update A Plugin From php to phar

Comments in 'Plugin Development' started by amiremad, Oct 22, 2015.

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

    amiremad Active Member

    Joined:
    Sep 8, 2015
    Posts:
    192
    Minecraft User:
    amir107
    i am a noob to codin please help me i really wish to use area guard on my server

    dont tell me about another plugins just help me to update

    the file is attached please help if you are going to help make a github link and tell me or just attach the phar to your post.

    Thanks:)

    Attached Files:

  2. amiremad
    Offline

    amiremad Active Member

    Joined:
    Sep 8, 2015
    Posts:
    192
    Minecraft User:
    amir107
  3. PocketKiller
    Offline

    PocketKiller Notable Member

    Joined:
    Jul 20, 2015
    Posts:
    741
    make it a .ZIP with plugin.yml and others... after go to pmt.mcpe.me and upload it.
    amiremad likes this.
  4. amiremad
    Offline

    amiremad Active Member

    Joined:
    Sep 8, 2015
    Posts:
    192
    Minecraft User:
    amir107
    can you help me make the plugin .yml
  5. PocketKiller
    Offline

    PocketKiller Notable Member

    Joined:
    Jul 20, 2015
    Posts:
    741
    You don't know...............................................
    I'm gonna do everything for you. :)
    amiremad likes this.
  6. BalAnce
    Offline

    BalAnce Active Member

    Joined:
    Mar 10, 2015
    Posts:
    125
    Minecraft User:
    BalAnce
    First off its not simple to convert the old-api plugin to new-api (.php to .phar) and second off iprotector by @LDX is the same thing essentially.
    Taha_The_Hacker likes this.
  7. PocketKiller
    Offline

    PocketKiller Notable Member

    Joined:
    Jul 20, 2015
    Posts:
    741
    What The... the AreaGuard.php file is Completely OLD with No namespace.... and it extends Plugin (Old API!!)
  8. amiremad
    Offline

    amiremad Active Member

    Joined:
    Sep 8, 2015
    Posts:
    192
    Minecraft User:
    amir107
  9. amiremad
    Offline

    amiremad Active Member

    Joined:
    Sep 8, 2015
    Posts:
    192
    Minecraft User:
    amir107
    help please i need help
  10. amiremad
    Offline

    amiremad Active Member

    Joined:
    Sep 8, 2015
    Posts:
    192
    Minecraft User:
    amir107
    if we updated it it will be best plugin ever for grief protection
  11. PocketKiller
    Offline

    PocketKiller Notable Member

    Joined:
    Jul 20, 2015
    Posts:
    741
    no.
    iProtector is 100% Better :p
    SeifValkierks likes this.
  12. amiremad
    Offline

    amiremad Active Member

    Joined:
    Sep 8, 2015
    Posts:
    192
    Minecraft User:
    amir107
    /ag pos1 : Set the first position to your current location
    /ag pos2 : Set the second position to your current location
    /ag remove : delete the protection of the area where you are standing
    /ag create <name> : create a protected area
    /ag info : give the info about the area you are standing in
    /ag help : displays all the commands
    /ag member <add | remove> <player> : add / remove a member to the area you are standing in
    /ag member list : gives the list of all the members of the area you are standing in
    /ag flag <flag> (value) : change the flag of the area you are standing in


    flags:


    pvp : allow / disallow pvp in your area
    build : allow / disallow guests building in your area
    entry : allow / disallow guests from entering the area
    chestacces : allow / dissallow guests from opening your chest
    greeting <msg> : change the message when players enter the area
    farewell <msg> : change the message when players leave the area

    this is the features in it so awesome but we need update
  13. PocketKiller
    Offline

    PocketKiller Notable Member

    Joined:
    Jul 20, 2015
    Posts:
    741
    Y
    YES you're right it's cool..
  14. amiremad
    Offline

    amiremad Active Member

    Joined:
    Sep 8, 2015
    Posts:
    192
    Minecraft User:
    amir107
    would you like to help
  15. PocketKiller
    Offline

    PocketKiller Notable Member

    Joined:
    Jul 20, 2015
    Posts:
    741
  16. amiremad
    Offline

    amiremad Active Member

    Joined:
    Sep 8, 2015
    Posts:
    192
    Minecraft User:
    amir107
    really whyyyyyy can you tell me api version of the plugin and i will make the plugin.yml
  17. PocketKiller
    Offline

    PocketKiller Notable Member

    Joined:
    Jul 20, 2015
    Posts:
    741
    I Don't know what's the old API, i need to know the old and new :p
  18. amiremad
    Offline

    amiremad Active Member

    Joined:
    Sep 8, 2015
    Posts:
    192
    Minecraft User:
    amir107
    ok i will think of a way
  19. CraftYourBukkit
    Offline

    CraftYourBukkit Notable Member Plugin Developer

    Joined:
    Jan 20, 2015
    Posts:
    1,022
    Plugins:
    2
    Minecraft User:
    CraftYourBukkit
    If you know the new API, you will mostly understand what's written in the old API:D
  20. PocketKiller
    Offline

    PocketKiller Notable Member

    Joined:
    Jul 20, 2015
    Posts:
    741
    Then tell me what's the meaning of
    PHP:
    $this->api->addHandler()
    SeifValkierks likes this.
Thread Status:
Not open for further replies.

Share This Page

Advertisement