[CHAT/FUN] Fakie v0.1 - Be who you want to be [1000]

Discussion in 'Inactive/Unsupported Plugins' started by daviga404, Aug 3, 2011.

  1. Offline

    daviga404

    [​IMG]
    Fakie - Be who you want to be!​
    Version: v0.1​
    Fakie allows you to pretend to be somebody else, with commands that simulate leaving and joining, and a command that lets you say something as somebody else. The plugin broadcasts messages in iChat+Permissions format (i.e [Default]Bob: Hello). Support for non-formatted messages is on the todo list.

    Permissions:
    At the moment, to use Fakie, you must be an OP. In later updates, I will add support for Permissions.

    Commands:

    /fsay [Name] [Group] [Message]
    -Says something with the arguments you defined. To have no group, type NULL for the group argument. NAME is the name of the player you want to make say something, MESSAGE is your message, GROUP is one of the Rank(NUMBER)Arg strings in the config file. The message will be displayed in the format [PREFIX]NAME: MESSAGE. The PREFIX will be the prefix for the group you chose in the config file.

    /fjoin [Name]
    -Simulates a player joining. (i.e. in yellow text: Bob joined the game.)

    /fleave [Name]
    -Simulates a player leaving (i.e. in yellow text: Bob left the game.)

    Config File:
    The config file is located in "plugins/Fakie/config.yml". The default configuration file looks like this:
    Code:
    Rank9Arg: HAdmin
    Rank8Prefix: §a[Admin]
    Rank5Prefix: §6[Antigrief]
    Rank1Arg: Default
    Rank5Arg: Antigrief
    Rank4Arg: Engineer
    Rank7Arg: Moderator
    Rank8Arg: Admin
    Rank6Arg: Builder
    Rank4Prefix: §5[Engineer]
    Rank1Prefix: §7[Default]
    Rank10Prefix: §4[Owner]
    Rank7Prefix: §9[Mod]
    Rank2Arg: Member
    Rank2Prefix: §e[Member]
    Rank6Prefix: §1[Builder]
    Rank9Prefix: §a[Head Admin]
    Rank10Arg: Owner
    Rank3Prefix: §b[Trusted]
    Rank3Arg: Trusted
    
    The ranks (for some reason) are not in order.

    Rank(NUMBER)Arg:
    -This is what the plugin detects for GROUP in /fsay. For example, if you put Woodcutter in here, you would type in /fsay NAME Woodcutter MESSAGE.

    Rank(NUMBER)Prefix:
    -This is where you put in the prefix you want to display for that number rank when you do /fsay. For example, if I was to put §a[Woodcutter] then if I were to do /fsay with the matching Rank(NUMBER)Arg as group, then the message format would be §a[Woodcutter]NAME: MESSAGE. This string has color support.

    To do:
    • Add support for Permissions.
    • Add support for non-formatted messages (i.e. <NAME>: Message)
    • Add more features.
    • Add space between group and name.
    • Change double s to ampersand.
    • Format join/leave messages.
    Features:
    • Simulate a person of your choice joining/leaving.
    • Say something as a player, with a group name.
    Changelog:

    Version 0.1:
    • Release of Fakie.
     
  2. Offline

    dm_studios

    Nice job works perfectly :D.

    Few things though:
    #1 Would be nice if we could add a space between the group and name
    #2 Could you change the section sign (double s) to an ampersand? so it matches the minecraft colour codes and doesn't confuse people.
    #3 Would it be possible to add the ability to format the join / leave messages (i.e. player name colour) maybe the same setup as the chat side :D

    #4 ITS PEANUT BUTTER JELLY TIME, JELLY TIME! Haha cake for you [cake][cake][cake]
     
  3. Offline

    daviga404

    Thanks! I'll try and add those things in in future updates, but there won't be updates for 3 weeks (I'm going on Holiday :D) but after then, i'll try and add those features in.
     
  4. Offline

    dm_studios

    @daviga404
    Thats cool :)

    Erm......I've actually downloaded your source and made the changes myself....hope you dont mind :oops:

    I've done:
    • Add space between group and name.
    • Change double s to ampersand. (to standardise the colour codes)
    • Format join/leave messages.
    • Customise join/leave messages.
    • Added two aliases for "peanutbutterjelly" command
    • Permissions check for peanutbutterjelly command
    • Cleaned up config file so that sort order is correct
    • Format player name for join/leave messages via command (i.e. /fjoin [NameColour] [Player] #to leave name colour as default do /fjoin null Player)
    • Fixed config file header not being set
    • Reload function
    • Add/Remove groups via config
    • Permissions support (Bukkit)
    • Fake AFK
    Hope you enjoy your holiday.
     
  5. Offline

    Plague

    Sorry for the delay in submission approvals, I've been away for a while.
     
  6. Offline

    RobZ_SD

    I approve :3
     

Share This Page