Giter VIP home page Giter VIP logo

Comments (8)

Kade-github avatar Kade-github commented on June 24, 2024

Heres a cool thing about open-source creative-commons. You can modify what ever you like, as long as you dont claim its yours. If you want a plugin to act like this (and yes you've used my plugin as an example here) you can. No one is stopping you. Just stop telling people to change something so personalized as their own plugin config.

from exiled.

Tamago4a avatar Tamago4a commented on June 24, 2024

Heres a cool thing about open-source creative-commons. You can modify what ever you like, as long as you dont claim its yours. If you want a plugin to act like this (and yes you've used my plugin as an example here) you can. No one is stopping you. Just stop telling people to change something so personalized as their own plugin config.

I'm talking about bringing everything to one form. I don't want to see another Smod in which everything is through the ass. I am asking for a completely adequate thing. This is done once during the "plug-in life" and is no longer touched.

And I'll add that not all of your plugins are listed in the example. And I will add that this list also contains my personal plugins that I would only redo if everyone came to a common opinion. All the same, these plugins work on Yaml syntax, so maybe we will stick to it?
Damn it, I really don't understand what's the problem then? I'm just asking the config to look nice.

from exiled.

Kade-github avatar Kade-github commented on June 24, 2024

Heres a cool thing about open-source creative-commons. You can modify what ever you like, as long as you dont claim its yours. If you want a plugin to act like this (and yes you've used my plugin as an example here) you can. No one is stopping you. Just stop telling people to change something so personalized as their own plugin config.

I'm talking about bringing everything to one form. I don't want to see another Smod in which everything is through the ass. I am asking for a completely adequate thing. This is done once during the "plug-in life" and is no longer touched.

And I'll add that not all of your plugins are listed in the example. And I will add that this list also contains my personal plugins that I would only redo if everyone came to a common opinion. All the same, these plugins work on Yaml syntax, so maybe we will stick to it?
Damn it, I really don't understand what's the problem then? I'm just asking the config to look nice.

do it yourself then, forcing wont help you.

from exiled.

Tamago4a avatar Tamago4a commented on June 24, 2024

do it yourself then, forcing wont help you.

Where in this text am I forcing you to do this?

Wait a minute. I think I got it. Do you want me to do this for you and give you the correct dll file?

from exiled.

RogerFK avatar RogerFK commented on June 24, 2024

Wait a minute. I think I got it. Do you want me to do this for you and give you the correct dll file?

That's not what he said. He just told you to change the Serializer if you didn't like it.

Anyways:

  1. This isn't a scripting language, and variable types don't have to be guessed from their context. They're already defined in their respective plugin's config classes.
  2. Coding with dynamic variables would be a mess.

Long explanation:

I'm thinking doing this would be a pain in the ass to do (even making an exiled_serializer: MySerializer.dll config would be a mess... the only way I'd see would be adding an optional Serializer-XXXX.dll file or a serializer.txt file somewhere). Either way, you would have to edit how EXILED's serializer works.

Here's the deal: this is a serializer with statically and strongly typed variables. The type of the variables don't have to be guessed from their context, unlike Python, where you just do myVar = 'Hello world!'. In C#, types are immutable unless the coder specifically says a type is dynamic (in which case it depends on the serializer, maybe YamlDotNet does give you 'string' and stuff if you use dynamic on a serializable).

Using dynamic would overcomplicate code, it doesn't make any sense to do it, and the configs wouldn't really look cleaner. For example, when we want a float variable, these numbers wouldn't be 0.05 but 0.05f. Added to the fact, for whatever reason, YamlDotNet apparently messes up our floats and adds a lot of decimals (0.0500000001f would look even messier.). One lines comparing a float against a float would turn into a type-checking headache.

anyways my final point: can't you really understand 0.5 is a number, and Hello my fellow dbois is a string? plus, you would break everyone else's configs...

from exiled.

joker-119 avatar joker-119 commented on June 24, 2024

This would be a breaking change in formatting the config serializer uses, for very little (in my opinion, none at all) gain other than 'some' people 'may' find it more 'aesthetically pleasing' to look at.

Re-writing the serializer to use this formatting would be a pain in the ass, for no reason, and would break everyone's config files instantly resetting them all back to default, if the server even loads them at all.

I'm going to say hard no on this one.

from exiled.

Tamago4a avatar Tamago4a commented on June 24, 2024

Okay. Well, at least I got a normal answer.
Do I understand correctly that if I now put quotes everywhere in my configs, then everything will still work for me?

from exiled.

Kade-github avatar Kade-github commented on June 24, 2024

Okay. Well, at least I got a normal answer.
Do I understand correctly that if I now put quotes everywhere in my configs, then everything will still work for me?

Try it, if it breaks. Modify it till it doesn't. You can control your own server, exiled is open source.

from exiled.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.