Can someone make me a plugin?

Discussion in 'Archived: Plugin Requests' started by supersean63, Sep 27, 2012.

  1. Offline

    supersean63

    Ok so basically I need a race plugin and another plugin one called Realm
    Ok so with the race plugin the commands are and with the plugin they are able to level up thier race to a custom level and they get certain abilitys and stuff.
    /Race
    /Race choose
    /Race abilitys
    /Race stats
    /Race level
    /Race info
    /Race help

    Now for the realm plugin
    It will basically be a plugin that will grant a faction more power money and a worldguarded vault area and only op can create realms and pass it down to a normal player.

    The commands are
    /Realm
    /Realm help
    /Realm list
    / Realm show
    /Realm map
    /Realm who
    /Realm create
    /Realm disband
    /Realm info

    That is all I can think of at this moment please messege me on skype seangunner12 if you want to know more info!
     
  2. Offline

    Kiakaha

    I made something Very similar to the first half of this for a player using Variable Triggers.

    It uses "/race" to see which options you have
    and "/race <name>" to join

    when you join you are put into their faction. and their permission group (so you can give custom stuff to each race)
    I also set it up for this player to give out some preset MCMMO stats if you use that plugin

    I can modify it in many ways so it could give Heroes classes or magic spells or anything else that you already have other plugins for


    Realms would be a bit trickier but i could make you a command that......
    *Loads a schematic for a Vault room
    *Makes a protected region over it
    *Assigns a player of choice as the region owner (so he can invite his factionmembers)
     
  3. Offline

    supersean63

    Actually i will make the vault my self and protect it but everything is alright also with the race thing can you make it so that certain races have different things that set them apart EX: orcs can deal 2 more damage than humans and etc and things like that without a different plugin like mcmmo or heroes

    Bump?

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

    Kiakaha

    I have made exactly this already then
    I'l just put some finishing touches on it and post it mate

    my current version does mcmmo preset stats on join race EG elves get 200 archery and humans get 200 swords (which give damage bonuses around 250)

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

    supersean63

    Sadly my server doesnt use mcmmo it uses heroes XD
     
  6. Offline

    Kiakaha

    okay so i can make it give heroes classes or just leave the player to decide.

    The point is: You can have it configured anyway you like

    it's a script file written in a config which you can change with notepad.

    anyway im working on this now. once you see it, will make a lot more sense ;)

    I'm positive this will be able to do what you're asking

    my idea im just having right now is maybe like certain classes only available to particular races?

    Example ONLY

    Elves
    • Archer
    • More Generic Elf Classes
    Dwarves
    • Miner
    • More Generic Dwarf Classes

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

    supersean63

    I like the players too choose them selves but with some races it gives certain boosts like orcs have a strength 1 potion when not masterd and at mastered strength 2 and things like that if you could add that that would be awesome

    Bump

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

    LexLaiden

    Kiakaha is really going to town with VariableTriggers. People ask for a new plugin and he scripts it for them with VariableTriggers. I have seen you on several threads making scripts for others. Nicely done.
     
  9. Offline

    supersean63

    I understood what you said to a extent XD what is a variable trigger exactly? Sorry for my noobness
     
  10. Offline

    LexLaiden

    VariableTriggers is a plugin that lets you create triggers and events and all kinds of stuff without the need to know Java. You use very simple lines of script to create your own new features.

    In essence, It is the perfect plugin for those that want to make plugins but don't know how. It lets you make your server do things that you would normally need to write a completely new plugin for using Java, but instead you script what you want in-game. It uses separete threads to interpret the scripts so it won't lag your server.

    Check it out http://dev.bukkit.org/server-mods/variabletriggers/ be sure you read the doc's if your going to use it yourself.

    What I was commenting on was the fact that Kiakaha is really being helpfull by making the scripts for other people. Scripts that you can copy and past in the YML files and presto you have your new feature.
     
  11. Offline

    supersean63

    Oh cool might look into that myself :). Also is it possible to make heroes skills with this?
     
  12. Offline

    Kiakaha

    sorry I got called up for other things today, but I have something really nice almost ready to give you

    Sadly coding a hero skill is one thing it cant do
    But adding levels or forcing a class or something is possible

    Once you see how it works you'l appreciate that it's written in a language not too complex for us normal guys :)
     
  13. Offline

    LexLaiden

    Once Kiakaha finnishes this script for you and you see how it works you can then start to do things you want and yes you can make heroes skills. You can make your own Quests, skills, interaction with npc's, villagers, mobs The possibilities are endless. Not only can you use VT built in commands, you can run /commands of any other plugins from within a script with CMD, CMDOP and CMDCON
     
  14. Offline

    supersean63

    Nice i really needa learn how to make hero skills and quest with that

    Also hwo do i make a trigger like the one in the vid that makes the gate retract? Also is it possible to make spout items/blocks with this? If so how?

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

    LexLaiden

    As for the doors I found a server that used VariableTriggers to do that so I didn't write that script TROUVO did and he may share it with you.
    Making the blocks change and animate is really strait forward. In the script you use @SETBLOCK or @TOGGLEBLOCK script commands and you can put inside a @LOOP and use <relativeloc:x,y,z:x,y,z>

    The best thing for you is to read through all documentation and start at Getting Started

    In the Variable Triggers Forum you can find sample scripts and in the Share Your Script section
     
  16. Offline

    Kiakaha

    supersean63 sorry this is taking so long mate. I volunteered for to many projects and im trying to write 20x at once ;) I'm working on this one RIGHT NOW though :) expect it today.
     
  17. Offline

    supersean63

  18. Offline

    Kiakaha

    Here's a first prototype
    It's really not set up for your server but for another persons request..

    Have a look at what it does and thne you can change things like where i add MCMMO stats to instead do heroes class changes etc

    If you have any trouble getting your head around it I'l be happy to visit your server and assist your setup

    Code:
    zrace.script.yml:
      list:
        Script:
        - '@PLAYER &f'
        - '@PLAYER --- &eAvailable races &f---'
        - '@PLAYER - &9Humans'
        - '@PLAYER - &aElves    &f- &6Dwarves'
        - '@PLAYER - &7Ogres    &f- &5Demons'
        - '@PLAYER &eType: &c"/Race <Racename>"'
      command:
        Script:
        - '@IF i <cmdargcount> = 0'
        - '@CALL race:list'
        - '@ENDIF'
        - '@IF i <cmdargcount> = 1'
        - '@CALL race:choose'
        - '@ENDIF'
        - '@IF i <cmdargcount> > 1'
        - '@CALL race:fail'
        - '@ENDIF'
      choose:
        Script:
        - '@IF si <cmdarg:1> = human'
        - '@CALL zrace:humans'
        - '@ELSE'
        - '@IF si <cmdarg:1> = humans'
        - '@CALL zrace:humans'
        - '@ELSE'
        - '@IF si <cmdarg:1> = elves'
        - '@CALL zrace:elves'
        - '@ELSE'
        - '@IF si <cmdarg:1> = elf'
        - '@CALL zrace:elves'
        - '@ELSE'
        - '@IF si <cmdarg:1> = elfs'
        - '@CALL zrace:elves'
        - '@ELSE'
        - '@IF si <cmdarg:1> = dwarves'
        - '@CALL zrace:dwarves'
        - '@ELSE'
        - '@IF si <cmdarg:1> = dwarf'
        - '@CALL zrace:dwarves'
        - '@ELSE'
        - '@IF si <cmdarg:1> = dwarfs'
        - '@CALL zrace:dwarves'
        - '@ELSE'
        - '@IF si <cmdarg:1> = ogres'
        - '@CALL zrace:ogres'
        - '@ELSE'
        - '@IF si <cmdarg:1> = ogre'
        - '@CALL zrace:ogres'
        - '@ELSE'
        - '@IF si <cmdarg:1> = demons'
        - '@CALL zrace:demons'
        - '@ELSE'
        - '@IF si <cmdarg:1> = demon'
        - '@CALL zrace:demons'
        - '@ELSE'
        - '@IF si <cmdarg:1> = reset'
        - '@CALL zrace:reset'
        - '@ELSE'
        - '@CALL zrace:fail'
        - '@ENDIF'
      fail:
        Script:
        - '@PLAYER &eThat is not an available race &c(<cmdline>)'
      humans:
        Script:
        - '@IF s <haspermission:select.races> = true'
        - '@CMDCON manuadd <playername> Human'
        - '@CMDOP f leave'
        - '@CMDOP f join Humans'
        - '@CMDCON mmoedit <playername> all 125'
        - '@ELSE'
        - '@PLAYER &eYou need to return to an Inn to change &c"/race"'
        - '@ENDIF'
      dwarves:
        Script:
        - '@IF s <haspermission:select.races> = true'
        - '@CMDCON manuadd <playername> Dwarf'
        - '@CMDOP f leave'
        - '@CMDOP f join Dwarves'
        - '@CMDCON mmoedit <playername> all 125'
        - '@CMDCON mmoedit <playername> mining 200'
        - '@CMDCON mmoedit <playername> excavation 225'
        - '@CMDCON mmoedit <playername> archery 75'
        - '@CMDCON mmoedit <playername> repair 100'
        - '@CMDCON mmoedit <playername> taming 0'
        - '@CMDCON mmoedit <playername> acrobatics 0'
        - '@ELSE'
        - '@PLAYER &eYou need to return to an Inn to change &c"/race"'
        - '@ENDIF'
      elves:
        Script:
        - '@IF s <haspermission:select.races> = true'
        - '@CMDCON manuadd <playername> Elf'
        - '@CMDOP f leave'
        - '@CMDOP f join Elves'
        - '@CMDCON mmoedit <playername> all 125'
        - '@CMDCON mmoedit <playername> mining 75'
        - '@CMDCON mmoedit <playername> herbalism 225'
        - '@CMDCON mmoedit <playername> excavation 75'
        - '@CMDCON mmoedit <playername> archery 200'
        - '@CMDCON mmoedit <playername> acrobatics 225'
        - '@CMDCON mmoedit <playername> unarmed 0'
        - '@CMDCON mmoedit <playername> repair 0'
        - '@ELSE'
        - '@PLAYER &eYou need to return to an Inn to change &c"/race"'
        - '@ENDIF'
      ogres:
        Script:
        - '@IF s <haspermission:select.races> = true'
        - '@CMDCON manuadd <playername> Ogre'
        - '@CMDOP f leave'
        - '@CMDOP f join Ogres'
        - '@CMDCON mmoedit <playername> all 125'
        - '@CMDCON mmoedit <playername> axes 200'
        - '@CMDCON mmoedit <playername> woodcutting 225'
        - '@CMDCON mmoedit <playername> herbalism 0'
        - '@CMDCON mmoedit <playername> taming 0'
        - '@CMDCON mmoedit <playername> acrobatics 0'
        - '@ELSE'
        - '@PLAYER &eYou need to return to an Inn to change &c"/race"'
        - '@ENDIF'
      demons:
        Script:
        - '@IF s <haspermission:select.races> = true'
        - '@CMDCON manuadd <playername> Demon'
        - '@CMDOP f leave'
        - '@CMDOP f join Demons'
        - '@CMDCON mmoedit <playername> all 125'
        - '@CMDCON mmoedit <playername> unarmed 225'
        - '@CMDCON mmoedit <playername> acrobatics 175'
        - '@CMDCON mmoedit <playername> swords 75'
        - '@CMDCON mmoedit <playername> archery 0'
        - '@CMDCON mmoedit <playername> taming 0'
        - '@CMDCON mmoedit <playername> fishing 75'
        - '@ELSE'
        - '@PLAYER &eYou need to return to an Inn to change &c"/race"'
        - '@ENDIF'
      reset:
        Script:
        - '@IF s <haspermission:select.races> = true'
        - '@CMDOP f leave'
        - '@CMDCON mmoedit <playername> all 0'
        - '@ELSE'
        - '@PLAYER &eYou need to return to an Inn to change &c"/race"'
        - '@ENDIF'
      setup:
        - '@CMDCON vtcmd race @CALL zrace:command'
        - '@CMDCON vtcmdo race true'
      factsetup:
        Script:
        - '@CMDOP f leave'
        - '@CMDOP f create Humans'
        - '@CMDOP f flag Humans permanent yes'
        - '@CMDOP f open yes'
        - '@CMDOP f desc Versatile Humans'
        - '@CMDOP f leave'
        - '@CMDOP f create Elves'
        - '@CMDOP f flag Elves permanent yes'
        - '@CMDOP f open yes'
        - '@CMDOP f desc Agile Elves'
        - '@CMDOP f leave'
        - '@CMDOP f create Dwarves'
        - '@CMDOP f flag Dwarves permanent yes'
        - '@CMDOP f open yes'
        - '@CMDOP f desc Stoic Dwarves'
        - '@CMDOP f leave'
        - '@CMDOP f create Ogres'
        - '@CMDOP f flag Ogres permanent yes'
        - '@CMDOP f open yes'
        - '@CMDOP f desc Mighty Ogres'
        - '@CMDOP f leave'
        - '@CMDOP f create Demons'
        - '@CMDOP f flag Demons permanent yes'
        - '@CMDOP f open yes'
        - '@CMDOP f desc Nether Demons'
        - '@CMDOP f leave'
        - '@CMDCON manuaddp <playername> admin.ofraces'
        - '@CMDOP vtcmdp fsetup admin.ofraces'
    *how to set up
    # Install Variable Triggers
    # goto Plugins/Variabletriggers and find the example.script.yml
    # Copy the example and rename the copy too "zraces.script.yml" < must be this exact name
    # Copy my entire script above into the new zraces.script.yml

    Now get into the game and (as an operater or with vtriggers.admin permission)
    # type "/vt Run zraces:setup" (this will generate a "/race" command for you
    # by default players need a permission called "select.races" to be able to change class soooo
    # if you only give them this permission in a designated area they wont be able to change race in the middle of battle etc
    # All you have to do now is change the Configuration to your tastes

    Changes such as
    * - '@CMDCON manuadd <playername> Ogre' < will be a diofferent command depending on your permissions plugin
    * - '@CMDOP f join Ogres' is a command for Factions plugin, so take that out if you dont want to use it
    * - '@CMDCON mmoedit <playername> all 125' these lines are giving players MCMMO stats (which you said you dont use. simply remove them.

    Just remember, if it doesnt work the way you want it now.. you can CHANGE IT HOWEVER YOU LIKE :)

    Continue to Message me if you need further assistance (EG i can show you how to setup the zone where players can change races and much more.)

    You would probably want to add the 2 lines
    * @CMDOP hero choose <classname>
    * @CMDOP hero confirm
    if you want to include the hero selection in this

    Or you would put the permission for selecting a hero into the appropriate groups

    (so assuming my default names) you might give Ogres the strong warrior class and Elves the archer class etc etc

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

    supersean63

    Alright thanks for the stuff but can you also add a Angel race in? also is it in anyway possible to add more damage to vanilla minecraft with these races?
     
  20. Offline

    Kiakaha

    supersean63
    I could do that but so can you mate :)

    All you have to do is search thru my script and copy and paste one of the old races and tweak the settings
    then you just have to add one more IF to the command so it does angel when you type "/race angel"

    Im online now so i can come aboard your server and walk you thru it if needed.

    I hope you got the rest of it working fine? any other additions you'd like?
     
  21. Offline

    supersean63

    Oh is it possible to add more damage in vinallia minecraft for the races? And if it is not how can i give the races diffrent potion effects when they attack a player and such?

    Also the variable triggers doesnt show up on my plugin list and when i run /vt Run zraces:setup nothing pops up or happens. And how do i make it so they can only change there class once

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

    Kiakaha

    IF Vtriggers isnt on plugin list then it's not installed correctly. i would just delete it and reinstall

    Nothing is gunna work until you get it to show up on plugins list. (there shouldnt be anything complicated about it.

    Make sure you didnt accidently put it in the wrong folder and make sure you stop and re start the server afterwards

    IF you whisper me your server address il be happy to come make it go

    I know this works because i tested all the different joins and stuff

    You make the class once thing by starting people with the needed permission and then removeing it on class join

    Sorry this is taking so long. but as soon as we're actually in the game together or something il be able to sort it for you really rapidly.
     
  23. Offline

    supersean63

    Alright whispered you my ip

    30.09 15:10:04 [Server] WARNING Script Error: Trigger: build_Run Script: Trigger Line 1 - @CALL unkown script zraces:setup Ignoring line and continuing

    Thats the error i get in my console

    He helped me with the race plugin :D. So now im gonna learn how to use vtrigger and make the realm plugin

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

    Alkhemyst

    Next time when you make a title try to be as specific as possible, and magically, more people are interested!
    If someone on my server posted something on my forums saying "help I've got an error!" and one saying "Getting a Table Full error upon login" I'm going to go to the one describing the error as much as possible so that I at least know what I'm dealing with first before I even take interest in it. It's nice so that the forums can be organized, because you never know if it was a race plugin or a plugin about the chat.
     

Share This Page