#Help with plugins
1 messages · Page 1 of 1 (latest)
what kinda error?
I'd really suggest having your Grasscutter anywhere other than your game folder as well, it's cleaner and keeps things better organized
You're missing resources
You can refer to the instructions from the pinned thread for "Resource Errors": #1024798229272989717 message (for doing it manually)
Since you're using Cultivation I'd really strongly suggest using the All-in-one download from the Cultivation downloads menu
Resource 3.6 will work with 3.2 server ?
No
If you're doing 3.2 use 3.2 resources, you can change the branch in the link there
I whant to play on my own server
https://gitlab.com/YuukiPS/GC-Resources/-/tree/3.2
I'll just link it here instead but you can change the branch there to any of the available versions
I already find it, thx
Just downloading
The jar you have isn't going to work with 3.2 though just as a heads up
If anything I'd suggest using the full 3.2 build instead of putting it together manually since you're already a bit lost on the setup: #resources message
This one is already fully set up so you just need to delete config.json and rename the 'config cultivation rename me'.json or whatever it is called to config.json instead
I need to put resources in Grasscutter3.2 folder ?
No the Grasscutter3.2 folder is the full setup
You can leave the resources and just use the contents of Grasscutter3.2
ok, now in console it have 0 error
Now i can install gc commander ?
yeah
gc commander need older version or new will be fine ?
not sure but plugins typically are cross-version compatible
09:44:05 INFO:OpenCommandPlugin [OpenCommand] Enabled
but GrassCutter tool dont see it
you have to use http://127.0.0.1:443 since you have encryption disabled
as the address in GC tools
Please connect to the server that supports open commands first
Im doing something wrong
I apologize for my stupidity.
In the remote tab on the app make sure to set the connection address to http://127.0.0.1:443 it should be near the top of the tab
yes i changed my ip to 127.0.0.1:433 its shows game version and open commands +
but when im trying to use any commands its say :"Please connect to the server that supports open commands first"
You need to use either player or console token to connect to the account
player is easiest
goes like this
after step 3 you get a code in-game, you put that in for 4 and then 5 to connect
You put 1 in the uid and hit send code? Then you will get a code in game
Are you positive the uid is 1 and you are currently logged in?
Make sure you're in-game, and then just verify the uid in the bottom right matches
If it won't take it from there you'll need to use console token instead
This screenshot doesn't show the actual uid so I'll take your word it's the same. Yeah just use console token instead then, it needs to be set in the plugin's config file
that is in grasscutter\plugins\OpenCommand\
oh sorry
it was 1 im 100% sure
Like this ?#1071368857811431434 message
putted some numbers and restarting server now
yes
with console token its working but player not found after i use commands
maybe its because im using test account ?
Shouldn't matter since any account can be connected to. Maybe make a new one without specifying the uid in the create command, then use the full uid it makes (should be like 10001) and try
ill check this later
thx for helping but now i need to go
text later
Sure thing
im here
so i think i found the problem
In server status i saw player count 0
maybe i need to open port 443 or play more ?
im creating account with login and UID 10001
but in game its just 1 numbet (1, 2 , 3 , 4 )
i have now 4 accounts
Sounds like you're connecting to a different server than your own, what address are you connecting to in Cultivation?
192.168.1.172
i have only 1 genshin server.
Make sure you're using that address in the app
so http://192.168.1.172:443 instead of the other one
In GcTools-v1.8.1 ?
Yeah
you're hosting grasscutter on 192.168.1.172 right?
I dont know
Just installed that grasscutter that you gived to me
Ok then it's on localhost, so in Cultivation connect to localhost instead and use http://127.0.0.1:443 in the app. That way we can just be sure all the connections are how they should be
Connecting to your local ipv4 works since you're still the host but connecting directly would be a good thing just to make sure the app can recognize everything properly
Now its not working anymore.
Cant connect with 127.0.0.1:443
Can it be problem in proxy on my pc ?
When im starting Cultivation my pc gets proxy
Leave the windows proxy alone, it's correct
im still can connect to server from game
The app won't connect to http://127.0.0.1:443 ? You still have the plugin right?
Make sure the plugin says it loaded successfully and that the address is correct in the remote tab on the app
21:11:06 INFO:Grasscutter Game version: 3.2.0
21:11:06 INFO:Grasscutter Grasscutter version: 1.4.4-dev-553e22e
21:11:06 INFO:ResourceLoader Loading resources...
21:11:07 INFO:ResourceLoader Finished loading resources.
21:11:07 INFO:Language Loading cached TextMaps
21:11:08 INFO:Tools GM Handbooks generated!
Exception in thread "main" com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused: no further information}}]
at com.mongodb.internal.connection.BaseCluster.getDescription(BaseCluster.java:177)
at com.mongodb.internal.connection.SingleServerCluster.getDescription(SingleServerCluster.java:41)
at com.mongodb.client.internal.MongoClientDelegate.getConnectedClusterDescription(MongoClientDelegate.java:127)
at com.mongodb.client.internal.MongoClientDelegate.createClientSession(MongoClientDelegate.java:87)
at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.getClientSession(MongoClientDelegate.java:258)
at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.execute(MongoClientDelegate.java:182)
at com.mongodb.client.internal.MongoCollectionImpl.executeCreateIndexes(MongoCollectionImpl.java:847)
at com.mongodb.client.internal.MongoCollectionImpl.createIndexes(MongoCollectionImpl.java:830)
at com.mongodb.client.internal.MongoCollectionImpl.createIndexes(MongoCollectionImpl.java:825)
at com.mongodb.client.internal.MongoCollectionImpl.createIndex(MongoCollectionImpl.java:810)
at dev.morphia.annotations.builders.IndexHelper.createIndex(IndexHelper.java:220)
at dev.morphia.annotations.builders.IndexHelper.createIndex(IndexHelper.java:210)
at dev.morphia.DatastoreImpl.ensureIndexes(DatastoreImpl.java:186)
at emu.grasscutter.database.DatabaseManager.ensureIndexes(DatabaseManager.java:89)
at emu.grasscutter.database.DatabaseManager.initialize(DatabaseManager.java:70)
at emu.grasscutter.Grasscutter.main(Grasscutter.java:118)
Open the start menu (either click the icon or press the Windows key), type services into the Windows search bar and open the Services app, find the MongoDB service and press the button to start it. If you cannot find it in your service list, you must download MongoDB from https://www.mongodb.com/try/download/community. MongoDB Compass is not related to or required for this, but it is recommended to install MongoDB Compass so that you can fix any database-related issues if your game breaks.
Yes, app wont connect.
i have everything same as last
I have deleted MongoDB.
This is problem maybe ?
Ah your server exited, yes you need MongoDB for Grasscutter to run
21:29:07 INFO:Grasscutter Starting Grasscutter...
21:29:07 INFO:Grasscutter Game version: 3.2.0
21:29:07 INFO:Grasscutter Grasscutter version: 1.4.4-dev-553e22e
21:29:07 INFO:ResourceLoader Loading resources...
21:29:08 INFO:ResourceLoader Finished loading resources.
21:29:08 INFO:Language Loading cached TextMaps
21:29:09 INFO:Tools GM Handbooks generated!
21:29:10 INFO:DataLoader Loading data table from: .\data\Banners.json
21:29:10 INFO:PluginManager Loading plugin: CharacterBuilder
21:29:10 INFO:PluginManager Loading plugin: GiveArtifactSnoo
21:29:10 ERROR:PluginManager Failed to load plugin: JGrasscutterCommand-0.4.0.mirai2.jar
java.lang.NullPointerException: Cannot invoke "java.net.URL.openStream()" because "configFile" is null
at emu.grasscutter.plugin.PluginManager.loadPlugins(PluginManager.java:83)
at emu.grasscutter.plugin.PluginManager.<init>(PluginManager.java:29)
at emu.grasscutter.Grasscutter.main(Grasscutter.java:131)
21:29:10 INFO:PluginManager Loading plugin: opencommand-plugin
21:29:10 INFO:PluginManager Loading plugin: setLevel
21:29:10 INFO:PluginManager Loading plugin: Switch Element Plugin
21:29:10 INFO:Switchele The SwitchElement has been loaded.
21:29:10 INFO:HttpServer [Dispatch] Dispatch server started at 127.0.0.1:443
21:29:10 INFO:GameServer Grasscutter is FREE software. If you have paid for this, you may have been scammed. Homepage: https://github.com/Grasscutters/Grasscutter
21:29:10 INFO:GameServer Game Server started at 127.0.0.1:22102
21:29:10 INFO:PluginManager Enabling plugin: CharacterBuilder
21:29:10 INFO:CharacterBuilder The CharacterBuilder plugin has been enabled.
21:29:10 INFO:PluginManager Enabling plugin: GiveArtifactSnoo
21:29:10 INFO:GiveArtifactSnoo The Give Artifact plugin has been enabled.
21:29:10 INFO:PluginManager Enabling plugin: opencommand-plugin
21:29:10 INFO:OpenCommandPlugin [OpenCommand] Enabled
21:29:10 INFO:PluginManager Enabling plugin: setLevel
21:29:10 INFO:setLevel The setLevel plugin has been enabled.
21:29:10 INFO:PluginManager Enabling plugin: Switch Element Plugin
21:29:10 INFO:Switchele The SwitchElement has been enabled.
21:29:10 INFO:Grasscutter Done! For help, type "help
Looks like one plugin failed to load due to a config file not existing
It's probably just due to the plugin being old, building it with current grasscutter jar as dependency will likely fix it
21:29:10 ERROR:PluginManager Failed to load plugin: JGrasscutterCommand-0.4.0.mirai2.jar you are about this ?
if yes im added this plugin
now i can connect to http://127.0.0.1:443 in GrasscutterTools
But maybe its not need to be here
Ah yeah you don't need it if you just want to use GCTools
you only need opencommand and GCTools for running commands from it
The rest of those are all ok
Proxies cause me to lose internet from time to time and I have to turn them off before the server starts up
im restarting server now
maybe in config file change localhost ip to 192.168.1.172:443 ?
I have an idea.
I should try it
no my idea not working (
You losing internet is just because the windows proxy is still on when the Cultivation proxy is off, make sure you're using Cultivation 1.0.25 and installed from the .msi and that shouldn't happen except in rare circumstances
I'll deal with the Internet later.
I would like to understand why CG tool does not want to see my account(
Is it good idea ?
I wouldn't do that personally, it shouldn't really change anything since you're hosting and connecting from the same machine already
Im hosting on my VM
Ahh then that is a different thing yes, you may want to host on your local ipv4 instead
"bindPort": 443,
"accessAddress": "127.0.0.1",
"accessPort": 0,
"encryption": {
"useEncryption": false,
"useInRouting": false,
changing to my ipv4 ?
yes that accessAddress and the other one further down in the config as well
I can connect
But the program still does not see the account.
No matter what ip I enter in that config
I can still connect 192.168.1.170:443 with app
You'll likely just have to copy/paste commands from the app then if it won't recognize your player through connection
I tested it with the current version locally myself and there were no problems, but I'm hosting Grasscutter on my pc (not a VM) and connecting to the game from the same pc
I think I misunderstood you.
I host the genshin server via vm
I have a server on my computer.
I did not install grasscutter additionally on the server on VM
Where do you put them in?
ill try tomorrow
To the server user on your friends list, in chat in-game
i dont have chat
i think i miss plugin for chat
Server command (requires server.chat.others permissions)
Where to find it ?
Go to your friends list and add the server account there to chat, then send commands to them
It's built into Grasscutter as a feature
Are you sure you're playing on real Grasscutter?
They will always show up in friends list
Not showing in 'add to chat' can and does happen especially when being kicked out and then letting yourself be autoreconnected
im using yours Grasscutter
I'm sure the implication was my build provided in #resources
I think the game is subtly telling me to give up
You should always be able to send from gc console, without any other tools
It looks like you're not connected to this Grasscutter
But in order for them to work you need a UID ? which is exactly what I have and does not work
yes
You are hosting Grasscutter elsewhere as well? On a vm or pc that is different from this one
i dont know cuz I downloaded a ready-to-use VM server and followed the minimal instructions that came with it on the site where I found it all
Considering the issues you're facing I'd really suggest using a normal Grasscutter setup on your local machine
Then when you confirm you can get it working properly there, you can move it to a different pc or vm if you wish to. But locally on your normal machine is best
If I'm not mistaken I didn't install Grasscutter but just downloaded a sort of portable version or something like that
Yeah that's accurate, Grasscutter itself is just a folder you can have anywhere you want. But it binds to the network and that requires different configurations, a normal setup uses localhost on 443
I will not break the rules if I name the site ?
A normal grasscutter setup requires no changes to config for addresses at all, you can connect directly through localhost
forum.ragezone
Ah it all makes sense now
You're not on Grasscutter, that's why nothing for Grasscutter is working
You're using GIO, which is a completely separate thing
You won't be able to use any grasscutter commands or plugins on GIO, it gets commands through the muip server running in docker
The forum you got the setup from should have the information you need on using commands through muip
Can I use this server but with Grasscutter ?
Grasscutter is a server all on its own, so you can't use it in conjunction with GIO
I'll try to figure out the GIO then
But if that doesn't work, are there any guides to building a server on Grasscutter so I can read them and do it all ?
Yes Grasscutter is quite simple, you already have it set up you just will want to connect to port 443 instead of 2888 to access it while Grasscutter is running
Where do I get the server files?
Or is Grasscutter enough and you only need the game?
I apologize for the stupid questions, but if there is an opportunity to learn, I use it to the maximum.
Grasscutter is the server, so you only need Grasscutter and the game to play
It runs locally on your machine, not in anything else like GIO does
So you already have Grasscutter fully set up
Sounds good
Now i need to test everything!
Thank you all for your help in figuring this out!