Core v2.8.1c

##Core v2.4.0b has been released:
###The chat channel update!

Added commands:

/channel <channel> <message>
/channel join <channel>
/channel leave <channel>
/channel info <channel>
/channel list

Aliases = /ch, /c

Added permissions:

core.channel.join.<channel>
core.channel.leave.<channel>
core.channel.info.<channel>
core.channel.speak.<channel>
core.channel.receive.<channel>
core.channel.list

Added file Chat.conf

channels {
    global {
        format="%cprefix%prefix&7%player%suffix%csuffix&8: &7%message"
        name="&6Global"
        prefix="&8[&6G&8] "
        range=global
        suffix=""
        trigger=g
    }
    help {
        format="%cprefix%prefix&7%player%suffix%csuffix&8: &a%message"
        name="&2Help"
        prefix="&7[&2Help&7] "
        range=global
        suffix=""
        trigger=h
    }
    local {
        format="%cprefix%prefix&7%player%suffix%csuffix&8: &f%message"
        name="&eLocal"
        prefix="&7[&eLocal&7] "
        range="100"
        suffix=""
        trigger=l
    }
    staff {
        format="%cprefix%prefix&7%player%suffix%csuffix&8: &b%message"
        name="&3Staff"
        prefix="&7[&3Staff&7] "
        range=global
        suffix=""
        trigger=s
    }
    world {
        format="&8[&e%world&8] %prefix&7%player%suffix&8: &7%message"
        name="&eWorld"
        prefix=""
        range=world
        suffix=""
        trigger=w
    }
}
chat {
    channels=true
    defaultchannel=global
    defaultformat="%prefix%player%suffix&8: &f%message"
    nickprefix="&7*"
    use=true
}
version=1

Note: the old chat configuration can now be found in this file, not Core.conf! And dont forget to give your users the following permissions:

core.channel.speak.<yourdefaultchannel>
core.channel.receive.<yourdefaultchannel>

Hope you enjoy the update! :yum:
Creep

2 Likes

Thanks ! i think i will not use this fonctionnality cause i have bad memories with plugin chat multi channel xD but thanks for your works :slight_smile:

2 Likes

I cant get colored chat to work, only via /list will it show my prefix etc but in normal chat its all white. I didnt want chat channels so I have just those disabled.

It works fine for me using the latest version of Forge, Sponge and Core. Which versions are you using? Are there any errors? Is your Chat.conf setup properly? :wink:

I am using latest of everything, I will attach my perms and chat config for core.

Says there is a json parser error with the chat config, however that is the default.

Please can you Add /tpworld [player] target ? else we must give perm at all players ;p

Do you use any plugins which may cause conflicts? I tested it once again and everything works great with the default Chat.conf file… :yum:

@Flashback083

This will be added in the next version! :wink:

1 Like

What about to add ability to rename commands (and maybe subcommands) through config file ? Primary meaning of this is translation to other languages. Nice example of this idea is /rules command.

This has been mentioned before and will be added in a future update. Just can’t tell when :wink:

Okey, thanks. :wink:

I love you i cant wait xD

Can you add a random warp with region constraints? Something a user could type in like, /warp random Random or /warp random Neverland or something, and set up a warp.conf file that contains limits of the randomizing and a list of warps? Something like this…

Random {
        "corner1-xyz"=x4000y60z-4000
        "corner2-xyz"=x-4000y60z4000
    }
Neverland {
        "corner1-xyz"=x350y200z450
        "corner2-xyz"=x150y200z250
    }

Probably a lot easier to ask than to write, but it would be an awesome thing to put in the rules for new users that just want to be randomly dropped somewhere in the world, or maybe just find a new home. I also don’t know if it is possible to make sure they aren’t spawned in the middle of the ground/ocean, or many meters in the air and fall to their death.

Is it possible to make a ā€œFull-Nickā€œ, that the name over your head change, not only in the chat… But I think it is not possible to change the skin into a random one when you are nicked, or? I know this function from a server… There the skin change when you are nicked into a random one… It works!
I dont know if it’s possible with the latest sponge version… It would be cool i think, then the admins on big servers would not be bothered constantly…

RiseOfTheVoid :smile:

The butcher command also deletes spawner blocks.

Discovered because I have some animal spawners to help people gather some basic supplies by the protected spawn area, the server was running a little laggy because I was testing stuff around the spawn, butchered 1000+ entities and the spawner blocks also disappeared.

Hey, I’m using this and it seems as though you have an interesting ā€˜Autocomplete’ type of system, but any chance of TAB complete too? And worlds… I made a new world with the commands, restarted the server, and had to redo the command to iitialize the world again, so my question is any chance of keeping track of the worlds and auto loading them on startup? Thanks!

Keep Inventory seems to only work when you do /kill. Not on any other occasions. Like when dying in lava, you lose your items. Is this a conflict in your plugin?

nope, keepInventory has been broken since Sponge build 630

Sorry for being inactive for the past few days. I moved to my new appartment! :heart_eyes:

So now that Iam back and I finally got my internet connection running I’ll be active again.


@p0wd3r

Thanks for the suggestion. I’ve planned to add regions anyways so thats a good idea!
I’ll have a look at the butcher command.

@RiseOfTheVoid

I’ll have a look if this is already implemented. If it is, I will add an option where this can be enabled / disabled. Good idea!

@turtledude01

I will have a look at this! :stuck_out_tongue: Thanks for suggesting it.


Creep

1 Like

Out of curiosity, why have you put the config file in the mods/Core folder, rather than in the config folder? It kind of feels out of place, as the default location for config files in Sponge is the config folder (see this page on the docs) - my personal preference would be to have the configuration files all in one place, rather than scattered over different folders. Is that something you would consider?

Thanks.

1 Like

I understand that they want you to have all the config files at a central place. However: I like to to have all the content related to one plugin located in the plugins folder. Rather than having config/core.conf and mods/core/whatever.conf you just got one central place regarding the plugin. Plugins which just contain one config file should use the config folder though in my opinion. :wink: