• 0

    posted a message on Simple Python Plugin
    Hi, I am very new to plugin coding. I am coding using Python and not Java. I am still a beginner in Python, and this is my first plugin. Currently I am working on a plugin where it strikes a piece of land, and replaces the block with a block of lava, and then shoots out fire. I do not know if this will work though. Here is my code:
    __plugin_name__ = "FireBall"
    __plugin_version__ = "1.0"

    # boilerplate start
    import org.bukkit as bukkit
    server = bukkit.Bukkit.getServer()

    from java.util.logging import Level
    log = server.getLogger()
    CHAT_PREFIX = "[%s] "%__plugin_name__
    def info(*text):
    log.log(Level.INFO,CHAT_PREFIX+" ".join(map(unicode,text)))
    def severe(*text):
    log.log(Level.SEVERE,CHAT_PREFIX+" ".join(map(unicode,text)))
    def msg(recipient,*text):
    recipient.sendMessage(CHAT_PREFIX+" ".join(map(unicode,text)))
    # boilerplate end

    @hook.enable
    def onEnable():
    info("%s v%s enabled"%(__plugin_name__,__plugin_version__))

    @hook.disable
    def onDisable():
    info("%s disabled"%__plugin_name__)

    @hook.command ("fireball")
    def FireBallCommand(sender, args):
    name = sender.getName()
    if name == "CONSOLE":
    msg(sender,"I'm not quite sure where you are looking at, so i'm afraid that won't work")
    else:
    # get block the player is looking at
    blocks = sender.getLastTwoTargetBlocks(None,20) # 20 is the maximum range
    block = blocks[-1] if blocks else None
    if block is not None:
    block.getWorld().FireballEffect(block.getLocation())
    block.setType(bukkit.Material.LAVA)
    block.getWorld().MOBSPAWNER_FLAMESEffect(block.getLocation())
    return True


    The thing that really gets me confused is this part:
    block.getWorld().FireballEffect(block.getLocation())
    block.setType(bukkit.Material.LAVA)
    block.getWorld().MOBSPAWNER_FLAMESEffect(block.getLocation())
    I am not sure what to write to get objects, positions, etc.. I am getting what I can from this page http://jd.bukkit.org/rb/doxygen/files.html

    Please help me, and if you could explain the part above that would be great.
    Thank You!

    P.S. Sorry I could not get the formatting to work :(
    Posted in: Modification Development
  • 0

    posted a message on Random Chest Prison Plugin
    Hi, I have been on multiple prison servers where they have these chests and keys. You can earn these keys, go to a chest, click on it, and you get a special item. Two servers that have this are Obsidian Prison and Fade Prison. I do not know what plugin they use, does anyone know? Thank You
    Posted in: Server Support and Administration
  • 0

    posted a message on Dextile Network [Prison] [Factions] [Economy] [PvP]
    Bump
    Posted in: PC Servers
  • 0

    posted a message on Dextile Network [Prison] [Factions] [Economy] [PvP]


    IP: mc.dextilenetwork.com


    Website:dextilenetwork.com


    Information
    Hello, and Welcome to Dextile Network, a place where Fighting, Mining, Selling, and Crafting, are a part of your Everyday life, or death. Will you mine and make your way up the ranks, or pvp and make your way to the top? If you enjoy Training your skills, Fighting off enemies, Or attempting to rule the World... Dextile Network is the place for you.

    Basic Plugins
    - Essentials
    - World Guard
    - World Edit
    - Factions
    - Prison Mine
    - Prison Rankup
    - Floauction
    - Lottery
    - Permissionsex
    - Clear Lag
    - Combat Log
    - Battle Arena


    Rules
    1.) Respect Staff and No Harassing Other Players.
    2.) No Alternate Accounts.
    3.) No Racism or Excessive Swearing.
    4.) No Hacks or Mods That Grant Unfair Advantages.
    5.) No Spamming Chat or Use Of Excessive Caps.
    6.) No Asking For Items, Vote For Free Items.
    7.) No Plugin or General Minecraft Exploiting.
    8.) No 3rd Party Donator rank transferring, trading and/or selling for in game items are permitted.

    Server Specs
    - RAM: 16 GB DDR3 RAM
    - Protection: 10Gbps DDoS Protection
    - Location: Washington DC, USA
    Posted in: PC Servers
  • 0

    posted a message on Dextile Network [Prison] [Factions] [Economy] [PvP]
    Dextile Network [Prison] [Factions] [Economy] [PvP]

    • Server Locale: US
    • Website: http://dextilenetwork.com/
    • SubReddit:
    • Wiki: N/A
    • Server Address/IP: mc.dextilenetwork.com
    • Version: 1.7.2
    • Game Play Type/s: Prison, Factions, Economy, PVP, PVE
    • Additional Worlds: N/A
      Description: Fun and active server open 24/7. Start off as a Convict and then rank your way up to Free so you can enter the Free World. Sell your items, and kill in pig spawners. Great Staff, and friendly people.
      Rules: No Swearing, No Harassing, No Advertising, No Hacking, No Inappropriate Language Or Skins, Treat Others With Respect
    • Server Hardware: 2GB Ram
    • Plugins: WorldEdit, WorldGuard, Factions, Essentails, PrisonMine, PrisonRankup, Lottery, FloAuction, Clearlag, Iconomy, Scoreboardstats, Combatlog
    • Owner/Admins/Moderators: GroundSnake4E, moonlight2000, kingluke374
    • Pictures/Videos URL: http://www.planetminecraft.com/server/dextilenetwork/
    Posted in: PC Servers
  • 0

    posted a message on [PAID/FREE]★★INTRO STORE - LIMITED FREE★★ (NEW)
    Quote from sebasti161

    I'll do it later :)

    Thank You SO much!!
    Posted in: Art Shops
  • 0

    posted a message on ArchosmanF's Hall of Designs (World Renders,Server Map Renders)
    Hi, I read your post and you sound good!!
    I have this banner at the moment, and I just need one minor change made to it, but I do not know how to do it.
    The banner currently says Factions.
    I want it to say Prison above the Factions, or replace the Factions with Prison.

    Here is the banner:
    http://i.imgur.com/iEOt4Ci.png
    If you do it I will recommend you!! :D TY
    Posted in: Art Shops
  • 0

    posted a message on Turtle's Animation Shop! High Quality Animations and Graphics!
    Hi, I read your post and you sound good!!
    I have this banner at the moment, and I just need one minor change made to it, but I do not know how to do it.
    The banner currently says Factions.
    I want it to say Prison above the Factions, or replace the Factions with Prison.

    Here is the banner:
    http://i.imgur.com/iEOt4Ci.png
    If you do it I will recommend you!! :D TY
    Posted in: Art Shops
  • 0

    posted a message on [PAID/FREE]★★INTRO STORE - LIMITED FREE★★ (NEW)
    Hi, I read your post and you sound good!!
    I have this banner at the moment, and I just need one minor change made to it, but I do not know how to do it.
    The banner currently says Factions.
    I want it to say Prison above the Factions, or replace the Factions with Prison.

    Here is the banner:
    http://i.imgur.com/iEOt4Ci.png
    If you do it I will recommend you!! :D TY
    Posted in: Art Shops
  • 0

    posted a message on Inactive Shop
    Hmm, I am not sure sorry. Someone made it for me. Any font is fine! :
    Posted in: Art Shops
  • 0

    posted a message on Inactive Shop
    Hi, I read your post and you sound good!!
    I have this banner at the moment, and I just need one minor change made to it, but I do not know how to do it.
    The banner currently says Factions.
    I want it to say Prison above the Factions, or replace the Factions with Prison.

    Here is the banner:
    http://i.imgur.com/iEOt4Ci.png
    If you do it I will recommend you!! :D TY
    Posted in: Art Shops
  • 0

    posted a message on Youtuber Wanted
    Dextile Network [Factions] [Raiding] [PvP]
    Youtuber wanted!!

    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    IP: mc.dextilenetwork.com

    Website: dextilenetwork.com
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Youtuber information:

    Must have 20+ subscribers

    You get free donor ranks for advertising.

    5 Users - Donator (5 USD)
    10 Users - VIP (10 USD)
    25 Users - Elite (25 USD)
    50 Users - Legend (50 USD)
    100 Users - Immortal (100 USD)
    250 Users - God (250 USD)

    JOIN NOW!
    Posted in: Server Recruitment
  • 0

    posted a message on Dextile Network [Factions] [Raiding] [PvP]
    Dextile Network [Factions] [Raiding] [PvP]

    ---------------------------------------------------------------

    Server Information

    ~~~~~~~~~~~~~~~~~~~~~~~~~
    IP: mc.dextilenetwork.com
    Website: dextilenetwork.com

    ~~~~~~~~~~~~~~~~~~~~~~~~~

    About Dextile Network:
    Dextile Network is a fun Factions Raiding and PvP server.
    There is a economy, and tons of shops.
    The server is always active, and there is no lag!
    The staff is great, and very helpful.
    Fully protected against DDOS attacks.

    Tags:
    ● Factions ● PVP● Raiding
    ● Economy ● Shops ● Great Spawn
    ● Always Active ● Great Staff ● Tons of Fun
    ● Open 24/7 ● No Lag ● Tons of Slots ●

    ---------------------------------------------------------------

    Server Images









    ---------------------------------------------------------------
    To contact me please send me an email at [email protected]
    or log on to our server and chat there!

    Posted Image
    To support this server please you this banner for your signature!
    Posted in: Server Recruitment
  • 0

    posted a message on Dextile Network [Factions] [Raiding] [PvP]
    Dextile Network [Factions] [Raiding] [PvP]

    ---------------------------------------------------------------

    Server Information

    ~~~~~~~~~~~~~~~~~~~~~~~~~
    IP: mc.dextilenetwork.com
    Website: dextilenetwork.com

    ~~~~~~~~~~~~~~~~~~~~~~~~~

    About Dextile Network:
    Dextile Network is a fun Factions Raiding and PvP server.
    There is a economy, and tons of shops.
    The server is always active, and there is no lag!
    The staff is great, and very helpful.
    Fully protected against DDOS attacks.

    Tags:
    ● Factions ● PVP● Raiding
    ● Economy ● Shops ● Great Spawn
    ● Always Active ● Great Staff ● Tons of Fun
    ● Open 24/7 ● No Lag ● Tons of Slots ●

    ---------------------------------------------------------------

    Server Images









    ---------------------------------------------------------------
    To contact me please send me an email at [email protected]
    or log on to our server and chat there!

    Posted Image
    To support this server please you this banner for your signature!
    Posted in: PC Servers
  • 0

    posted a message on Dextile Network [Factions] [Raiding] [PvP]
    Dextile Network [Factions] [Raiding] [PvP]

    ---------------------------------------------------------------

    Server Information

    ~~~~~~~~~~~~~~~~~~~~~~~~~
    IP: mc.dextilenetwork.com
    Website: dextilenetwork.com

    ~~~~~~~~~~~~~~~~~~~~~~~~~

    About Dextile Network:
    Dextile Network is a fun Factions Raiding and PvP server.
    There is a economy, and tons of shops.
    The server is always active, and there is no lag!
    The staff is great, and very helpful.
    Fully protected against DDOS attacks.

    Tags:
    ● Factions ● PVP● Raiding
    ● Economy ● Shops ● Great Spawn
    ● Always Active ● Great Staff ● Tons of Fun
    ● Open 24/7 ● No Lag ● Tons of Slots ●

    ---------------------------------------------------------------

    Server Images









    ---------------------------------------------------------------
    To contact me please send me an email at [email protected]
    or log on to our server and chat there!

    Posted Image
    To support this server please you this banner for your signature!
    Posted in: PC Servers
  • To post a comment, please or register a new account.