Captain's Projects: CaptainChat + CaptainMOTD + YAMLChestLock + Regions

Discussion in 'WIP and Development Status' started by captainawesome7, Aug 7, 2011.

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

    captainawesome7

    Captain's Projects
    Overview:
    I've been working on a few things recently, but I don't want to release them as plugins. Either because they aren't fully functional, or because they are too similar to an existing plugin, etc. I just thought I should have a place where I can put abandon plugins and/or new plugins that I've given up on or am working on.
    NOTICE:
    Both of these plugins support SUPER PERMS! That means bPermissions, PermissionsBukkit, etc.
    NOT: PermissionsEx, Permissions 2.7.x, 3.x, GroupManager, etc.

    YAMLChestLock
    Status: Under Development, should be done soon
    Overview:
    Basically it works a lot like LWC but it doesn't use MySQL, it uses YAML. Obviously there is a defined save interval that may create some lag, but it shouldn't be too bad. If you lock a double chest you have to lock both chests included in it. Also, when you press 'C' its the equivalent of typing /chest (Using the Spout server plugin and client of course).
    Comands(accessible to all because I'm lazy right now):
    • /chest - Locks the chest you are looking at
    • /chest unlock - Unlock the chest you are looking at (same as breaking it)
    • /chest save - Saves the chests regardless of save time
    • /chest islocked - Checks if the chest you are looking at is locked
    • OPs can access any chest btdubz
    Configuration:
    config (open)

    Default Config:
    Code:
    JustLockedMessage: §aChest successfully locked.
    MaxChestsPerPlayer: 4
    ColoredConfig: true
    LockedMessage: §4That chest is locked!
    SaveFrequency: 5
    UnlockMessage: §7Chest successfully unlocked
    
    SaveFrequency is in minutes, and it dictates how often the chests are saved to the file.
    ColorConfig should be colorconsole, but I made a typo and I'm lazy, so there u go. If u have a UNIX system leave it at true, if ur on windows make it false. The rest are pretty obvious.

    Download: Direct Jar Download

    CaptainChat: A Chat Formatter + Chat Channel Plugin
    Configuration:
    config.yml (open)

    Default Config:
    Code:
    Local:
        Range: 50
        Format: '&7[L] +senderName: +message'
        AccessNode: captainchat.local
    DefaultChannel: Global
    Global:
        Format: '&7[&a+senderName&7]: +message'
        AccessNode: captainchat.global
    Variables allowed in format:
    • +senderName
    • +worldName
    • +channelName
    • +prefix (Uses bInfo)
    • +suffix (Uses bInfo)
    • +message
    • Colors with &1-9/a-f

    channels.yml (open)

    Default Channels file:
    Code:
    Member:
        Name: MemberChat
        AccessNode: captainchat.member
        Format: '&7[M] &a+senderName&7: &a+message'

    Commands:
    • /chat - Shows available commands (captainchat.use)
    • /chat list - List all chat channels
    • /chat join <channel> - Joins the specified chat channel
    • /chat leave - Leave the chat channel you are in
    • /chat info <channel> - Show some info about the channel
    Download: Direct Jar Download

    CaptainMOTD: Just like MCDocs but not dependent on Permissions 2.7.x/3.x
    Configuration:
    config.yml (open)

    Default Config:
    Code:
    Command:
        command: CMD_HERE
        filename: command.txt
    
    Replace CMD_HERE with the command you want the file to be accessible in-game with. For example, if you put command: help , and a player types /help, /plugins/CaptainMOTD/command.txt will be shown to the player.

    motd.txt (open)

    Code:
    &aWelcome to +serverName, +player!
    &aOnline Players(+onlineCount): +onlineList
    Allowed Variables (more being added):
    • +player - Shows the player's display name
    • +serverName - Shows the server's name in server.properties
    • +onlineCount - Returns the number of online players
    • +onlineList - Returns a list of online players formatted like: [player1, player2]

    Download: Direct Jar Download

    SpoutHUD: Server Clock and stuff
    Overview:
    Basically this just adds some options so you can put as many GenericLabels (text) on a player's screen using Spout as you want. It is somewhat similar to SpoutText (I think thats what it's called) but this one makes you put your own x and y in. The clock is just a GenericLabel that is updated ever 20 seconds or so. I put it on my server (mc.awesomevilleserver.com:25564) and I though I would share it. But not until I polish it up a bit, so hold on :p

    Regions: Simple protected regions
    Overview:
    Sticking to my recent trend this plugin uses YAML storage instead of a database. It might make for longer load times (lol on might) but if you don't have 20000 regions it should be fine. Instead of using region flags, it just uses one universal config option for regions. The region selection tool is a wooden sword, and the tool for checking if a block is in a region is a rose. You need to be OP to do almost anything, because I was lazy when making this plugin. Permissions will come in a later update. DO NOT OVERLAP REGIONS!
    Configuration:
    Code:
    # Welcome to the Regions config file :D
    # The following options are for region defaults and options
    Regions:
        Protection:
            BlockUse: true
            BlockBreaks: true
            BlockPlaces: true
        Alerts:
            AlertOnBreak: false
            AlertOnPlace: false
            AlertOnUse: false
        MaximumRegionsPerPlayer: 8
    # This plugin is still largely experimental, and will be added to in the future.
    
    Commands:
    • /r - Checks to see if you're in a region, if you are it shows you some info
    • /r new <name> - Creates a new region with the specified name (no spaces)
    • /r delete <name> - Deletes the specified region
    • /r add <region> <player> - Adds the player to the region (can build, etc)
    • /r remove <region> <player> - Removes the player from the region (can't build, etc)
    • /r list - Lists all regions
    Download: Direct Jar Download

    Transactions: Offer + buy items
    Overview:
    It isn't a shop plugin. If you want a chest shop plugin, go get one. This plugin is geared towards a smaller server that doesn't really need a large shop. If you find a diamond, you can use /ts offer diamond 1 100 with offers 1 diamond with the price of 100 dollars (uses iConomy). It's pretty much done, but I'm having problems with removing items from the player's inventory (a single item is left that isn't real, if you right click it goes away but you can still craft stuff out of it). When I get that cleared up I'll most likely stick it up here.
     
    kahlilnc likes this.
  2. Offline

    tips48

    Oooooh! I like the chat plugin. that could be used for bukkitCon! :D
     
  3. Offline

    Tauryuu

    So it's a HeroChat alternative. :)

    Could you include range chats?
     
  4. Offline

    captainawesome7

    Thats what I'm working on next, Each channel would have a definable range as well as the default chat.
     
  5. Offline

    Insanehero

    It'd be nice if faction plugins could hook into this for their factions tags. I don't know if you would like to do anything like that but it would be awesome, because then you can still have a chat plugin well using a faction plugin.
     
  6. Offline

    Tauryuu

    Instead of /cc, you should make it /chat.
     
  7. Offline

    captainawesome7

    I'll change that in 0.2
    I'll look into it.
     
  8. Offline

    feildmaster Retired Staff

    No! You stole my plugin idea. =P

    Lol. Good luck to you. You seem to have gotten farther than me.
     
  9. Offline

    Specops343

    Keeping faction tags would be an awesome feature, captain.
     
  10. Offline

    Tauryuu

    Can you make this support bInfo for custom player colors? I already see this as a lightweight HeroChat alternative. :)
     
  11. Offline

    feildmaster Retired Staff

    Maybe I should release my WIP thread as well...
     
  12. Offline

    captainawesome7

    There already is bInfo support :p
     
  13. Offline

    Tauryuu

    OMG I totally missed that! Awesome!~

    EDIT: The /chat string when you don't have permissions still shows /cc
    /chat info doesn't do anything
    There is a spelling mistake of "CaptainChat" in the /chat menu

    I hope this isn't considered annoying, but helpful ^^
     
  14. Offline

    Tauryuu

    Wow, I really like your plugins! All of them are fitting for me!

    For YAMLChestLock, can you add permissions for each command, and an option to make it only work in specific worlds (for players)?
     
  15. Offline

    captainawesome7

    Sure. I'm also adding doors and furnaces, but chests will stay the way they are (lock both sides of a double).
     
  16. Offline

    Tauryuu

    Oh. Can you make it only work with Chests with a toggle option?
     
  17. Offline

    feildmaster Retired Staff

    Very nice, on your yaml locker. ^^
     
  18. Offline

    Styx Reborn

    You need more red and more big text. You know how the users are ;)
     
  19. Offline

    feildmaster Retired Staff

  20. Offline

    captainawesome7

    It'll get there eventually.
    I know I felt guilty about the lack of giant red text when I posted it :/
     
  21. Offline

    Tauryuu

    I have a feeling this thread has become my favorite of the forum. :)
     
  22. Offline

    Tauryuu

    For Regions, can you add iConomy (Register) support and add a /r claim so people can buy their own regions without Admin help?

    The regions can all have the same price, and if the region is flagged as "purchasable", they can use the claim command to buy it. :)
     
  23. Offline

    captainawesome7

    So by buy it do you mean set the owner or add the player as a member. Or have two different prices, one to be an allowed player and the other to have complete ownership?
     
  24. Offline

    Tauryuu

    Buy it to have complete ownership. As if they defined the land, but they don't define the land, because admins do that. Allowing admins to set up lots and players to claim lots.
     
  25. Offline

    captainawesome7

    I'll probably add something like that.
     
  26. Offline

    feildmaster Retired Staff

    Hey captain, I bet I know what the problem is with your transactions plugin... :D (because I came to that problem a while ago in a different plugin) Want some help?
     
  27. Offline

    Liam Allan

    Awesome ideas here! But I've already made YAMLChestLock!
     
  28. Offline

    Tauryuu

    No. I believe they are not the same.
     
  29. Offline

    Liam Allan

    Yeah, Commands. Spout :D Things like that . . .
     
Thread Status:
Not open for further replies.

Share This Page