JavaScript, good. Plugin Manager, restrictive!

it's still okay... more than that... you might feel that in map editor... it's more awkward to arrange map than arranging plugin... and you cannot cut paste it like plugin manager.
I feel that while JavaScript is the best option for a new language, I feel that the plugin manager made it much more restrictive. Here's why:

  • Changes are made inside the plugin manager. Everything that the plugin writer puts there are the ones that can be modified.
  • Because of the plugin manager changing the values you want modified, you can't openly add something you want.
  • Plugins such as Achievements, Story Books, In Game changed values for the plugins isn't that widely free to do.
Of course, I am basing this upon what I know.
In my examples, I mentioned Achievements and Story Book plugins as an example. Let's say you want to make a plugin that hoards achievements, yes? Then, the plugin user decides that she wants to add another achievement. She can't, because everything is inside the plugin manager now.

Back in Ace, since we do use the script editor we can freely add variables to our liking very much easier.

My question is,

how would the plugin writers defeat this problem? What are the viable ways to make the plugin user create an extensive and non restrictive plugin to add variables that is changable in our out of the game?

Aside from opening the plugin in an IDE or Text Editor, that is.
The simple solution is to create a public API that allows users to create more of x on the fly aside from the 10-100 that the plugin author has already allowed. Something like:

ClassName.createMoreFruit(...)
I honestly think plugin manager is a good idea although the way's it's configurate make it a little anoying to use.

ALTHOUGH!

like I answered you in the past in a status feed.

You don't even mentionned the use of JSON

you forgot that JSON is Humanly readable can be open in a text editor 

are easy to edit and can be easily add to the system  by using loadData in DataManager

and you can do a book or achievement plugin with that AND this not "internal" this just a extral tool people can use.
I honestly think plugin manager is a good idea although the way's it's configurate make it a little anoying to use.

ALTHOUGH!

like I answered you in the past in a status feed.

You don't even mentionned the use of JSON

you forgot that JSON is Humanly readable can be open in a text editor 

are easy to edit and can be easily add to the system  by using loadData in DataManager

and you can do a book or achievement plugin with that AND this not "internal" this just a extral tool people can use.
JSON is easy to read but you have to remember, not every one is a scriptor. Most people do not want to be opening files and editors and other things they dont understand just to add more of X. The goal is to keep the person in the game editor and keep them working on there game, once you add to much complexity via scripts the person has a higher chance of loosing interest.
JSON is easy to read but you have to remember, not every one is a scriptor. Most people do not want to be opening files and editors and other things they dont understand just to add more of X. The goal is to keep the person in the game editor and keep them working on there game, once you add to much complexity via scripts the person has a higher chance of loosing interest.
Yeah sadly they have moment where you "can't" just do more "human" I swear doing in notetag or event would be FAR MORE annoying than doing in a JSON

+ doing a JSON is easy for people to just copy paste the example or just to follow your step. 

We have to keep them in editor yes the problem is we have a certain limit of what we can do "humanly" and have to a certain moment when we enter in more complex work's to do more complicate job.

I will say something maybe harsh:

"If someone complain it's to much complex and don't try to at least to work with he don't really need it in reality. Someone who really want to do his game will do all the effort possible to use it."

So yes we have to think about the user but at a moment we should stop to "give them everything's in the mouth with a silver spoon." sometime if someone really want to create their game they will not going to get stop for some little complex job.
Yeah sadly they have moment where you "can't" just do more "human" I swear doing in notetag or event would be FAR MORE annoying than doing in a JSON

+ doing a JSON is easy for people to just copy paste the example or just to follow your step. 

We have to keep them in editor yes the problem is we have a certain limit of what we can do "humanly" and have to a certain moment when we enter in more complex work's to do more complicate job.

I will say something maybe harsh:

"If someone complain it's to much complex and don't try to at least to work with he don't really need it in reality. Someone who really want to do his game will do all the effort possible to use it."

So yes we have to think about the user but at a moment we should stop to "give them everything's in the mouth with a silver spoon." sometime if someone really want to create their game they will not going to get stop for some little complex job.
Personally I would rather keep the user in the editor, the game editor that is. The more you drive them away from the editor the more of a chance they have to think this is too complicated and its not worth it. This is why I am against JSON options and Against any thing that takes the developer, non scriptor that is, away from the editor.

With that being said we can argue that applications built with JS today do have JSON based configuration files. So I guess it depends on who the script is targeting and how much support you are willing to give those who tend to get lost in the options easily.
Yeah. Many users WANTS the easiest way to use the script that they wanted to use. If they go around opening something, installing this and that or configure lots of things, 50% of the users might get discouraged using your plugin. The other 50% users maybe wants to really use the plugin, or wants to learn about it more, etc. One way or the other if your plugin is not easy to use, they'll just go here on the request section and request something similar to yours, but easier to use.
Yeah. Many users WANTS the easiest way to use the script that they wanted to use. If they go around opening something, installing this and that or configure lots of things, 50% of the users might get discouraged using your plugin. The other 50% users maybe wants to really use the plugin, or wants to learn about it more, etc. One way or the other if your plugin is not easy to use, they'll just go here on the request section and request something similar to yours, but easier to use.
this ^^
and lol like I said and frankly people know this...

depending the plugin let's take the example of the journal plugin.

That's frankly nearly impossible to do this "easiest" possible Nor without doing something a little messy like Script calls for store the information.

because Journal system require information to be store's due ..let's be honest a lot's of string's.

it's "possible" to store information via Script call...but let's be honest would be annoying and also Repetitive and GOD know in game making and Code Repetitive actions is a big nono it's return to the same's having a over complicated plugin.

I will say user are capricious people who a lots of them just want plug'n play stuff when it's nearly impossible on some plugin.

Let's take example with my AI still in dev.

I take time to explain to people to how to install step by step, Show them example on HOW to edit their stuff, and How to edit the JSON.

So I think after this point if people complain it's to much complex then they are actually a little "dumb" or just lazy to read the manual. {at some exception when some newbie in coding try to edit the code after that I can show them how to edit them properly.}

if I would let's the people using a script call's for create the AI Personality each time's it's would not being pro efficient because GOSH I know the feeling to having to repeat constant script call's can be the most annoying thing's to do and I am myself a User just a user who took time to learn all the coding and this not actually store the AI information. So I have to repeat the same script call for each and THAT'S totally not a good practice.

and let's be honest here. A LOT'S of user actually hate's notetag a lots when they have to do WALLS of stuff in it..it's small have limits, annoying to format and is horrible when programmer begin to left people input "code" in it.

I honestly think this a bad practice to rely on notetag for everything's.

I don't deny your say but I will being honest : 

at a point you have to stop being "friendly" or your gonna finish doing something even more less friendliness.
and lol like I said and frankly people know this...

depending the plugin let's take the example of the journal plugin.

That's frankly nearly impossible to do this "easiest" possible Nor without doing something a little messy like Script calls for store the information.

because Journal system require information to be store's due ..let's be honest a lot's of string's.

it's "possible" to store information via Script call...but let's be honest would be annoying and also Repetitive and GOD know in game making and Code Repetitive actions is a big nono it's return to the same's having a over complicated plugin.

I will say user are capricious people who a lots of them just want plug'n play stuff when it's nearly impossible on some plugin.

Let's take example with my AI still in dev.

I take time to explain to people to how to install step by step, Show them example on HOW to edit their stuff, and How to edit the JSON.

So I think after this point if people complain it's to much complex then they are actually a little "dumb" or just lazy to read the manual. {at some exception when some newbie in coding try to edit the code after that I can show them how to edit them properly.}

if I would let's the people using a script call's for create the AI Personality each time's it's would not being pro efficient because GOSH I know the feeling to having to repeat constant script call's can be the most annoying thing's to do and I am myself a User just a user who took time to learn all the coding and this not actually store the AI information. So I have to repeat the same script call for each and THAT'S totally not a good practice.

and let's be honest here. A LOT'S of user actually hate's notetag a lots when they have to do WALLS of stuff in it..it's small have limits, annoying to format and is horrible when programmer begin to left people input "code" in it.

I honestly think this a bad practice to rely on notetag for everything's.

I don't deny your say but I will being honest : 

at a point you have to stop being "friendly" or your gonna finish doing something even more less friendliness.

Im like lost on this conversation now, so lets try and see what you mean 🙂

That's frankly nearly impossible to do this "easiest" possible Nor without doing something a little messy like Script calls for store the information.

because Journal system require information to be store's due ..let's be honest a lot's of string's.

uh ... What? So the easiest way to store information in a journal form is to create a data structure:

var journalObject = { title: 'adasd', entry: 'asdsadas', date: 'dasdasd',}But we have multiple entries:

var journalEntries = [];journalEntires.push(journalObject);Now we have a container of sorts for our journal object, we can loop over this looking for specific entries based on title or date. When it comes down to it, always try and store your information in a data object, this can be passed off to the game save so that it persists across load and reloads.

Tags for this would be mega simple:

<Journal title: "something" date: "dsasdas"> Content here for the entry</Journal>
it's "possible" to store information via Script call...but let's be honest would be annoying and also Repetitive and GOD know in game making and Code Repetitive actions is a big nono it's return to the same's having a over complicated plugin.

I will say user are capricious people who a lots of them just want plug'n play stuff when it's nearly impossible on some plugin.

Nothings complicated about the above example, you can give people a public API where they can say "doesEntryWithTitleExist(title)" that they can use in conditional branch calls. Once you have a container wrapped in a prototype you can easily create getters and setters for the information you need and then expose getters and setters to a public facing API. (one of my blog posts, in fact my recent one talks about this).

Basic Programming and OO principles here. 🙂

I take time to explain to people to how to install step by step, Show them example on HOW to edit their stuff, and How to edit the JSON.

So I think after this point if people complain it's to much complex then they are actually a little "dumb" or just lazy to read the manual. {at some exception when some newbie in coding try to edit the code after that I can show them how to edit them properly.}

This is a really bold and rude (see bolded sections for rudeness) statement to make. The concern here is that people do not want to install a script then go edit a JS file, potentially make a spelling mistake, not understand the error or something else and get frustrated by the result. 

People also do not, generally, want to install a script open a third party tool to create a quest,. import the details and icons and this and that. People justw ant to put a script in there game, make a few modifications, boom done they are back to developing there system. This is why Yanfly scripts are popular, they are powerful but don't require you to know everything about JS, just follow some super simple steps and be on your way, no messy json files or "what have you's" to be messing with.

I think that if your script is at the point where you need to be relying on third party tools and services and config files then you need to re-evaluate what exactly you are trying to do., the journal example above, with the data structure and what not - is how my questing system (stay tooned ya'll) is implemented. Are note tags and specifically nested note tags harder on the end user, I don't think so. Not if its done correctly. That can be said for anything, but remember the goal is to keep the end user in the system, the MV system, the 80$-120$ system.

People arn't dumb or lazy, they are, in some cases, not programmers. So don't treat them like programmers and dont give them super hard or insane scripts or ideas to work with.

and let's be honest here. A LOT'S of user actually hate's notetag a lots when they have to do WALLS of stuff in it..it's small have limits, annoying to format and is horrible when programmer begin to left people input "code" in it.
Im sorry what? All of Yanflys scripts, all of my scripts are in note tags, I nor yanfly or others have not heard of this "every one hates note tags" concept. Yes there are discussions about pros and cons of note tags and better ways to process options, but no one is specifically saying "EVERYONE hates note tags".

This quote makes me think you have had bad experiences with some of yanflys scripts where yes you do have some code to write, but again these are usually very well documented and there are example projects of how to do x, y or z. So please don't make accusations and outrageous claims with no back up for your argument.

Yes it can get a bit annoying when you have 50 scripts and they add about 50 lines of note tags to one item, for example, but thats you're problem, not the scriptors. I learned from the beginning that the community used note tags in ruby and thats what they are use to so we generally stuck to it. If you can give reasonable and well thought out arguments to wards not using them, I and I am sure others are open to it. 

I honestly think this a bad practice to rely on notetag for everything's.

Why? Its the easiest way (right now) to format data and not be dragged out of the system into some other tool.

I don't deny your say but I will being honest : 

at a point you have to stop being "friendly" or your gonna finish doing something even more less friendliness.
It only becomes less friendly when:

  • No documentation
  • Too many scripts that do far more complicated things then your game probably needs
  • poorly written code that has a ton of bugs or incompatibilities.
  • script authors who decide that they don't have to help you because they don't like you
  • Scripts that require a third party tool, 50 steps to get it set up, exporting and importing
  • Scripts that require third party files and lots of "out of the game editing" only to find out that all that work you did broke the game because of something being wrong or you didn't understand everything correctly.

These are where things fall apart and fall apart quickly.
I have to agree with DarknessFalls on this one. Saying that they are little dumb and lazy is off the chart of how they work with the plugin / script. The purpose of you doing the plugin is to give that EASIER use of RPG Maker through your plugin, not to overcomplicate it. Yanfly uses note tags, because it is easier. Yet I am reading from you saying its the other way around. Pretty sure note tags makes everything easier in rpg maker. Even meta.

A simple analogy is something like, you want to make a cake. There are many ways to, there are many recipe as well. If I want to bake a carrot cake for example, and I found a good recipe manual, it should be something I can understand, or even a kid can understand. That's how systems should and is developed, so even lower educated person can understand.

If you can't make it easy, then I think you shouldn't share your plugin at all. Do this, open this, place this, copy this, now change this, etc will discourage your users, especially for someone who just started out RPG Maker. Do you know why Yanfly's scripts are well loved? Because all I have to do is copy the script, paste it, add my note tags and that's it, no worries. Easy to understand.

If you're saying we should all learn JSON to make an Achievements plugin without looking for other ways and methods, aren't we being close minded to an easier approach? I think its a scientific matter to always find another solution. Quasi and DarknessFalls has given a simpler way, and I will go with that. JSON thing makes it complicated for a simple user, more so, it takes time.
Tags for this would be mega simple
But, where to place these tags for something, that doesn't belong to a certain actor/item/map/...? I suggested using comments in common events for this, but users actually prefer using JSON files over that solution.
Adding objects via a public API has multiple pitfalls, as it requires the user to execute a bunch of script calls (maybe plugin commands, but their simplistic structure sometimes isn't enough). It requires the user to start a new game after adding the plugin and stores everything into the savefile, which just seems bad to me.


Sometimes, using an additional file is actually the easiest solution.

Original thread: https://forums.rpgmakerweb.com/threads/javascript-good-plugin-manager-restrictive.52318/